public final class MessageEncodingException
extends java.lang.RuntimeException
Constructor and Description |
---|
MessageEncodingException(java.lang.String encoding)
New instance.
|
MessageEncodingException(java.lang.String encoding,
java.lang.Throwable cause)
New instance.
|
MessageEncodingException(java.lang.String message,
java.lang.Throwable cause,
boolean enableSuppression,
boolean writableStackTrace,
java.lang.String encoding)
New instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
encoding()
The name of the encoding used when the Exception was thrown.
|
public MessageEncodingException(java.lang.String encoding)
encoding
- the name of the encoding usedpublic MessageEncodingException(java.lang.String encoding, java.lang.Throwable cause)
cause
- for this exception.encoding
- the name of the encoding usedpublic MessageEncodingException(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace, java.lang.String encoding)
message
- for the exception.cause
- for this exception.enableSuppression
- whether or not suppression is enabled or disabled.writableStackTrace
- whether or not the stack trace should be writable.encoding
- the name of the encoding used