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:
java.io.Serializable

public class NotSslRecordException extends javax.net.ssl.SSLException
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:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    NotSslRecordException(java.lang.String message)
     
    NotSslRecordException(java.lang.String message, java.lang.Throwable cause)
     
    NotSslRecordException(java.lang.Throwable cause)
     
  • Method Summary

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • NotSslRecordException

      public NotSslRecordException()
    • NotSslRecordException

      public NotSslRecordException(java.lang.String message)
    • NotSslRecordException

      public NotSslRecordException(java.lang.Throwable cause)
    • NotSslRecordException

      public NotSslRecordException(java.lang.String message, java.lang.Throwable cause)