Class NotSslRecordException

All Implemented Interfaces:
Serializable

public class NotSslRecordException extends 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 Details

  • Constructor Details

    • NotSslRecordException

      public NotSslRecordException()
    • NotSslRecordException

      public NotSslRecordException(String message)
    • NotSslRecordException

      public NotSslRecordException(Throwable cause)
    • NotSslRecordException

      public NotSslRecordException(String message, Throwable cause)