Package io.servicetalk.grpc.api
Class MessageEncodingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.servicetalk.grpc.api.MessageEncodingException
- All Implemented Interfaces:
Serializable
Deprecated.
Exception thrown when a message was encoded with an unsupported encoder.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMessageEncodingException
(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. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MessageEncodingException
Deprecated.New instance.- Parameters:
encoding
- the name of the encoding used
-
MessageEncodingException
Deprecated.New instance.- Parameters:
cause
- for this exception.encoding
- the name of the encoding used
-
MessageEncodingException
public MessageEncodingException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, String encoding) Deprecated.New instance.- Parameters:
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
-
-
Method Details
-
encoding
Deprecated.The name of the encoding used when the Exception was thrown.- Returns:
- the name of the encoding used when the Exception was thrown
-
ProtoBufSerializationProviderBuilder
that was deprecated and will be removed in future releases. UseSerializationException
instead that can be thrown by a new implementation.