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 FormConstructor and Description |
---|
DecodingException(String msg)
Create a new DecodingException.
|
DecodingException(String msg,
Throwable cause)
Create a new DecodingException.
|
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DecodingException(String msg)
msg
- the detail message