Package org.wildfly.common.codec
Class DecodeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.wildfly.common.codec.DecodeException
- All Implemented Interfaces:
Serializable
An exception which indicates that decoding has failed due to invalid or truncated input.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newDecodeExceptioninstance.DecodeException(String msg) Constructs a newDecodeExceptioninstance with an initial message.DecodeException(String msg, Throwable cause) Constructs a newDecodeExceptioninstance with an initial message and cause.DecodeException(Throwable cause) Constructs a newDecodeExceptioninstance with an initial cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DecodeException
public DecodeException()Constructs a newDecodeExceptioninstance. The message is left blank (null), and no cause is specified. -
DecodeException
Constructs a newDecodeExceptioninstance with an initial message. No cause is specified.- Parameters:
msg- the message
-
DecodeException
Constructs a newDecodeExceptioninstance with an initial cause. If a non-nullcause is specified, its message is used to initialize the message of thisDecodeException; otherwise the message is left blank (null).- Parameters:
cause- the cause
-
DecodeException
Constructs a newDecodeExceptioninstance with an initial message and cause.- Parameters:
msg- the messagecause- the cause
-