Package io.servicetalk.serializer.api
Class SerializationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.servicetalk.serializer.api.SerializationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BufferEncodingException
,CodecDecodingException
,CodecEncodingException
,SerializationException
Exception indicating an error during serialization or deserialization.
- See Also:
-
Constructor Summary
ConstructorDescriptionSerializationException
(String message) New instance.SerializationException
(String message, Throwable cause) New instance.SerializationException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) New instance.SerializationException
(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
-
SerializationException
New instance.- Parameters:
message
- for the exception.
-
SerializationException
New instance.- Parameters:
message
- for the exception.cause
- for this exception.
-
SerializationException
New instance.- Parameters:
cause
- for this exception.
-
SerializationException
public SerializationException(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.
-