}
private void gotOpenFailure(SSHPacket buf)
throws ConnectionException {
try {
openEvent.deliverError(new OpenFailException(getType(), buf.readUInt32AsInt(), buf.readString()));
} catch (Buffer.BufferException be) {
throw new ConnectionException(be);
}
finishOff();
}