ProtoBufSerializationProviderBuilder that was deprecated
and will be removed in future releases. Use SerializationException instead that can be thrown by a new
implementation.@Deprecated
public final class MessageEncodingException
extends RuntimeException
| Constructor and Description |
|---|
MessageEncodingException(String encoding)
Deprecated.
New instance.
|
MessageEncodingException(String encoding,
Throwable cause)
Deprecated.
New instance.
|
MessageEncodingException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace,
String encoding)
Deprecated.
New instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
encoding()
Deprecated.
The name of the encoding used when the Exception was thrown.
|
public MessageEncodingException(String encoding)
encoding - the name of the encoding usedpublic MessageEncodingException(String encoding,
Throwable cause)
cause - for this exception.encoding - the name of the encoding usedpublic MessageEncodingException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace,
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