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.IllegalArgumentException
An 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 newDecodeException
instance.DecodeException(java.lang.String msg)
Constructs a newDecodeException
instance with an initial message.DecodeException(java.lang.String msg, java.lang.Throwable cause)
Constructs a newDecodeException
instance with an initial message and cause.DecodeException(java.lang.Throwable cause)
Constructs a newDecodeException
instance with an initial cause.
-
-
-
Constructor Detail
-
DecodeException
public DecodeException()
Constructs a newDecodeException
instance. The message is left blank (null
), and no cause is specified.
-
DecodeException
public DecodeException(java.lang.String msg)
Constructs a newDecodeException
instance with an initial message. No cause is specified.- Parameters:
msg
- the message
-
DecodeException
public DecodeException(java.lang.Throwable cause)
Constructs a newDecodeException
instance with an initial cause. If a non-null
cause 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 newDecodeException
instance with an initial message and cause.- Parameters:
msg
- the messagecause
- the cause
-
-