Class DeserializationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
software.amazon.awssdk.eventstreamrpc.DeserializationException
- All Implemented Interfaces:
Serializable
Thrown when a deserialization exception occurs
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeserializationException(Object lexicalData) Creates a new DeserializationException from the given dataDeserializationException(Object lexicalData, Throwable cause) Creates a new DeserializationException from the given data -
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
Creates a new DeserializationException from the given data- Parameters:
lexicalData- The data that could not be deserialized
-
DeserializationException
Creates a new DeserializationException from the given data- Parameters:
lexicalData- The data that could not be deserializedcause- The reason the data could not be deserialized
-