public class SerializationException
extends java.lang.RuntimeException
The SDK uses this class to avoid depending on exception types from the underlying JSON framework that it uses (currently Gson).
This is currently an unchecked exception, because adding checked exceptions to existing SDK interfaces would be a breaking change. In the future it will become a checked exception, to make error-handling requirements clearer. However, public SDK client methods will not throw this exception in any case; it is only relevant when implementing custom components.
Constructor and Description |
---|
SerializationException(java.lang.Throwable cause)
Creates an instance.
|