public class SerializationException
extends java.lang.Exception
The SDK uses this class to avoid depending on exception types from the underlying JSON framework
that it uses. The underlying exception can be inspected with the Throwable.getCause()
method, but application code should not rely on those details since they are subject to change.
Constructor and Description |
---|
SerializationException(java.lang.String message)
Creates an instance.
|
SerializationException(java.lang.Throwable cause)
Creates an instance.
|
public SerializationException(java.lang.Throwable cause)
cause
- the underlying exceptionpublic SerializationException(java.lang.String message)
message
- a description of the error