Class DecodeEOFException

  • All Implemented Interfaces:
    Serializable

    public class DecodeEOFException
    extends IllegalArgumentException
    Exception thrown when a type decoder fails due to some unrecoverable error or violation of AMQP type specifications for an incoming encoded byte sequence.
    See Also:
    Serialized Form
    • Constructor Detail

      • DecodeEOFException

        public DecodeEOFException()
        Creates a generic DecodeEOFException with no cause or error description set.
      • DecodeEOFException

        public DecodeEOFException​(String message)
        Creates a DecodeEOFException with the given error message.
        Parameters:
        message - The error message to convey with the exception.
      • DecodeEOFException

        public DecodeEOFException​(Throwable cause)
        Creates a DecodeEOFException with the given assigned root cause exception.
        Parameters:
        cause - The underlying exception that triggered this encode error to be thrown.
      • DecodeEOFException

        public DecodeEOFException​(String message,
                                  Throwable cause)
        Creates a DecodeEOFException with the given error message and assigned root cause exception.
        Parameters:
        message - The error message to convey with the exception.
        cause - The underlying exception that triggered this encode error to be thrown.