Package com.launchdarkly.sdk.json
Class SerializationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.launchdarkly.sdk.json.SerializationException
- All Implemented Interfaces:
java.io.Serializable
public class SerializationException
extends java.lang.Exception
General exception class for all errors in serializing or deserializing JSON.
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.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description SerializationException(java.lang.Throwable cause)
Creates an instance. -
Method Summary
-
Constructor Details
-
SerializationException
public SerializationException(java.lang.Throwable cause)Creates an instance.- Parameters:
cause
- the underlying exception
-