type = ssp0.readPacketType( in, buffer, 0 ); } catch( IOException ioe ) { close(); throw ioe; case SessionServicePacket.NEGATIVE_SESSION_RESPONSE: int errorCode = (int)( in.read() & 0xFF ); close(); throw new NbtException( NbtException.ERR_SSN_SRVC, errorCode ); case -1: throw new NbtException( NbtException.ERR_SSN_SRVC, NbtException.CONNECTION_REFUSED ); default: close(); throw new NbtException( NbtException.ERR_SSN_SRVC, 0 );
type = ssp0.readPacketType( in, buffer, 0 ); } catch( IOException ioe ) { close(); throw ioe; case SessionServicePacket.NEGATIVE_SESSION_RESPONSE: int errorCode = (int)( in.read() & 0xFF ); close(); throw new NbtException( NbtException.ERR_SSN_SRVC, errorCode ); case -1: throw new NbtException( NbtException.ERR_SSN_SRVC, NbtException.CONNECTION_REFUSED ); default: close(); throw new NbtException( NbtException.ERR_SSN_SRVC, 0 );
type = ssp0.readPacketType( in, buffer, 0 ); } catch( IOException ioe ) { close(); throw ioe; case SessionServicePacket.NEGATIVE_SESSION_RESPONSE: int errorCode = (int)( in.read() & 0xFF ); close(); throw new NbtException( NbtException.ERR_SSN_SRVC, errorCode ); case -1: throw new NbtException( NbtException.ERR_SSN_SRVC, NbtException.CONNECTION_REFUSED ); default: close(); throw new NbtException( NbtException.ERR_SSN_SRVC, 0 );
type = ssp0.readPacketType( in, buffer, 0 ); } catch( IOException ioe ) { close(); throw ioe; case SessionServicePacket.NEGATIVE_SESSION_RESPONSE: int errorCode = (int)( in.read() & 0xFF ); close(); throw new NbtException( NbtException.ERR_SSN_SRVC, errorCode ); case -1: throw new NbtException( NbtException.ERR_SSN_SRVC, NbtException.CONNECTION_REFUSED ); default: close(); throw new NbtException( NbtException.ERR_SSN_SRVC, 0 );