Package io.servicetalk.encoding.api
Class CodecDecodingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.servicetalk.serializer.api.SerializationException
io.servicetalk.encoding.api.CodecDecodingException
- All Implemented Interfaces:
Serializable
Deprecated.
Exception thrown when something goes wrong during decoding.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCodecDecodingException
(ContentCodec codec, String message) Deprecated.New instance.CodecDecodingException
(ContentCodec codec, String message, Throwable cause) Deprecated.New instance. -
Method Summary
Modifier and TypeMethodDescriptioncodec()
Deprecated.Returns the codec in use when this exception occurred.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CodecDecodingException
Deprecated.New instance.- Parameters:
codec
- the codec in use.message
- the reason of this exception.
-
CodecDecodingException
Deprecated.New instance.- Parameters:
codec
- the codec in use.message
- the reason of this exception.cause
- the cause of the exception.
-
-
Method Details
-
codec
Deprecated.Returns the codec in use when this exception occurred.- Returns:
- the codec in use when this exception occurred.
-
BufferEncodingException
.