Package io.servicetalk.encoding.api
Class BufferEncodingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.servicetalk.serializer.api.SerializationException
io.servicetalk.encoding.api.BufferEncodingException
- All Implemented Interfaces:
Serializable
A specialization of
SerializationException
used to indicate an encoding exception.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBufferEncodingException
(String message) Create a new instance.BufferEncodingException
(String message, Throwable cause) New instance.BufferEncodingException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) New instance.BufferEncodingException
(Throwable cause) 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
-
BufferEncodingException
Create a new instance.- Parameters:
message
- The message to use.
-
BufferEncodingException
New instance.- Parameters:
message
- for the exception.cause
- for this exception.
-
BufferEncodingException
New instance.- Parameters:
cause
- for this exception.
-
BufferEncodingException
public BufferEncodingException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) 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.
-