Class NotSslRecordException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
javax.net.ssl.SSLException
io.netty.handler.ssl.NotSslRecordException
- All Implemented Interfaces:
Serializable
Special
SSLException which will get thrown if a packet is
received that not looks like a TLS/SSL record. A user can check for
this NotSslRecordException and so detect if one peer tries to
use secure and the other plain connection.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNotSslRecordException(String message) NotSslRecordException(String message, Throwable cause) NotSslRecordException(Throwable cause) -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NotSslRecordException
public NotSslRecordException() -
NotSslRecordException
-
NotSslRecordException
-
NotSslRecordException
-