Exceptions
There is a list of the most common exceptions that you can receive from our SDK.
ActivationException
This exception is being used in generic cases such as an offline token has an invalid format, configuration issue occurs - e.g. the public key has not been configured properly, the data in the persistent storage are not valid, etc.
Examine the exception message to get more details about what happened.
IllegalActivationOperationException
Inherits from the ActivationException and it's being thrown if an activation method is not allowed in the current activation state.
LicensingApiException
Thrown if a status code indicating failure has been returned in the Licensing API call response. Provides details like response status code, body, and headers.
LicensingApiException<ApiError>
Inherits from the LicensingApiException and besides the generic HTTP response fields, it also provides more insights into the Licensing API specific error details like error code, error message, and validation errors.
Last updated