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:
java.io.Serializable
public class DecodeException extends java.lang.IllegalArgumentExceptionAn exception which indicates that decoding has failed due to invalid or truncated input.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DecodeException()Constructs a newDecodeExceptioninstance.DecodeException(java.lang.String msg)Constructs a newDecodeExceptioninstance with an initial message.DecodeException(java.lang.String msg, java.lang.Throwable cause)Constructs a newDecodeExceptioninstance with an initial message and cause.DecodeException(java.lang.Throwable cause)Constructs a newDecodeExceptioninstance with an initial cause.
-
-
-
Constructor Detail
-
DecodeException
public DecodeException()
Constructs a newDecodeExceptioninstance. The message is left blank (null), and no cause is specified.
-
DecodeException
public DecodeException(java.lang.String msg)
Constructs a newDecodeExceptioninstance with an initial message. No cause is specified.- Parameters:
msg- the message
-
DecodeException
public DecodeException(java.lang.Throwable cause)
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
public DecodeException(java.lang.String msg, java.lang.Throwable cause)Constructs a newDecodeExceptioninstance with an initial message and cause.- Parameters:
msg- the messagecause- the cause
-
-