Class DecodeErrorException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DecodeErrorException
    extends ErrorAlert
    https://tools.ietf.org/html/rfc8446#section-6.2 "decode_error: A message could not be decoded because some field was out of the specified range or the length of the message was incorrect. This alert is used for errors where the message does not conform to the formal protocol syntax. This alert should never be observed in communication between proper implementations, except when messages were corrupted in the network."
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DecodeErrorException​(java.lang.String message)
      Exception representing TLS error alert "decode_error".
    • 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
    • Constructor Detail

      • DecodeErrorException

        public DecodeErrorException​(java.lang.String message)
        Exception representing TLS error alert "decode_error". See https://www.davidwong.fr/tls13/#section-6.2 "decode_error: A message could not be decoded because some field was out of the specified range or the length of the message was incorrect. This alert is used for errors where the message does not conform to the formal protocol syntax."
        Parameters:
        message -