Package org.apache.qpid.protonj2.codec
Class DecodeEOFException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.apache.qpid.protonj2.codec.DecodeEOFException
- All Implemented Interfaces:
- Serializable
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:
- 
Constructor SummaryConstructorsConstructorDescriptionCreates a genericDecodeEOFExceptionwith no cause or error description set.DecodeEOFException(String message) Creates aDecodeEOFExceptionwith the given error message.DecodeEOFException(String message, Throwable cause) Creates aDecodeEOFExceptionwith the given error message and assigned root cause exception.DecodeEOFException(Throwable cause) Creates aDecodeEOFExceptionwith the given assigned root cause exception.
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
DecodeEOFExceptionpublic DecodeEOFException()Creates a genericDecodeEOFExceptionwith no cause or error description set.
- 
DecodeEOFExceptionCreates aDecodeEOFExceptionwith the given error message.- Parameters:
- message- The error message to convey with the exception.
 
- 
DecodeEOFExceptionCreates aDecodeEOFExceptionwith the given assigned root cause exception.- Parameters:
- cause- The underlying exception that triggered this encode error to be thrown.
 
- 
DecodeEOFExceptionCreates aDecodeEOFExceptionwith 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.
 
 
-