SDKs
Android SDK

Java Exception Handling

1min

In case of errors, LicenseSpring SDK will throw an exception, SDK-specific exceptions will always derive from LicenseSpringException class.

The following exceptions are possible:

  • LicenseSpringException - All SDK Exceptions are wrapped in this exception.
  • LicenseExpiredException - License Expired
  • ConsumptionException - When feature/license consumptions limits have been reached
  • LicenseSpringServerException - Any License server error is wrapped in this exception. See docs/errors-and-response-codes for detailed messages. The response is wrapped in the ErrorResponse class.