Class DeserializationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.fluxcapacitor.javaclient.common.serialization.DeserializationException
- All Implemented Interfaces:
Serializable
Thrown to indicate that a problem occurred during the deserialization of data.
This exception is typically thrown by a Serializer
implementation when an attempt to parse a serialized
representation (e.g. JSON or binary) into a Java object fails.
Common scenarios include:
- Invalid or malformed input (e.g. corrupt or truncated JSON)
- Missing required fields in the serialized form
- Type mismatches or class resolution failures
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeserializationException
(String message) DeserializationException
(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DeserializationException
public DeserializationException() -
DeserializationException
-
DeserializationException
-