com.launchdarkly.sdk.json.SerializationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of launchdarkly-java-sdk-common Show documentation
Show all versions of launchdarkly-java-sdk-common Show documentation
LaunchDarkly SDK Java Common Classes
package com.launchdarkly.sdk.json;
/**
* 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 {@link Exception#getCause()}
* method, but application code should not rely on those details since they are subject to change.
*/
@SuppressWarnings("serial")
public class SerializationException extends Exception {
/**
* Creates an instance.
* @param cause the underlying exception
*/
public SerializationException(Throwable cause) {
super(cause);
}
}