Package io.servicetalk.encoding.api
Class CodecEncodingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.servicetalk.serializer.api.SerializationException
io.servicetalk.encoding.api.CodecEncodingException
- All Implemented Interfaces:
Serializable
Deprecated.
Exception thrown when something goes wrong during encoding.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCodecEncodingException(ContentCodec codec, String message) Deprecated.New instance.CodecEncodingException(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
-
CodecEncodingException
Deprecated.New instance.- Parameters:
codec- the codec in use.message- the reason of this exception.
-
CodecEncodingException
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.