public class DecodingException extends CodecException
CodecException such as a configuration
issue that a Decoder may choose to raise.
For example in server web application, a DecodingException would
translate to a response with a 400 (bad input) status while
CodecException would translate to 500 (server error) status.
Decoder,
Serialized Form| Constructor and Description |
|---|
DecodingException(String msg)
Create a new DecodingException.
|
DecodingException(String msg,
Throwable cause)
Create a new DecodingException.
|
contains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic DecodingException(String msg)
msg - the detail message