All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.launchdarkly.sdk.server.interfaces.SerializationException Maven / Gradle / Ivy

There is a newer version: 7.5.0
Show newest version
package com.launchdarkly.sdk.server.interfaces;

/**
 * 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 (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. */ @SuppressWarnings("serial") public class SerializationException extends RuntimeException { /** * Creates an instance. * @param cause the underlying exception */ public SerializationException(Throwable cause) { super(cause); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy