Top Description Fields Constructors
org.wildfly.common.codec

public Class DecodeException

extends IllegalArgumentException
Class Inheritance

An exception which indicates that decoding has failed due to invalid or truncated input.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
DecodeException()

Constructs a new DecodeException instance.

public
DecodeException(final String
the message
msg
)

Constructs a new DecodeException instance with an initial message.

public
DecodeException(final Throwable
the cause
cause
)

Constructs a new DecodeException instance with an initial cause.

public
DecodeException(final String
the message
msg
,
final Throwable
the cause
cause
)

Constructs a new DecodeException instance with an initial message and cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.IllegalArgumentException.serialVersionUID.

Constructor Detail

DecodeExceptionback to summary
public DecodeException()

Constructs a new DecodeException instance. The message is left blank (null), and no cause is specified.

DecodeExceptionback to summary
public DecodeException(final String msg)

Constructs a new DecodeException instance with an initial message. No cause is specified.

Parameters
msg:String

the message

DecodeExceptionback to summary
public DecodeException(final Throwable cause)

Constructs a new DecodeException instance with an initial cause. If a non-null cause is specified, its message is used to initialize the message of this DecodeException; otherwise the message is left blank (null).

Parameters
cause:Throwable

the cause

DecodeExceptionback to summary
public DecodeException(final String msg, final Throwable cause)

Constructs a new DecodeException instance with an initial message and cause.

Parameters
msg:String

the message

cause:Throwable

the cause