Package | Description |
---|---|
com.licensespring.model.exceptions |
com.licensespring.model.exceptions contains all exception models used in LicenseSpring. |
com.licensespring.model.exceptions.infrastructure |
The package contains issues with infrastructure based errors/exceptions.
|
com.licensespring.model.exceptions.infrastructure.cloudcheck |
The package relates to exceptions which are done in the NODE-LOCKING mode of operations.
|
com.licensespring.model.exceptions.validation |
The package contains all license validation errors, as well as misconfiguration errors.
|
Modifier and Type | Class and Description |
---|---|
class |
LicenseNotActiveException
This is the base exception for all exceptions thrown by the SDK.
|
class |
LicenseNotEnabledException
This is the base exception for all exceptions thrown by the SDK.
|
class |
LicenseNotFoundException
This is the base exception for all exceptions thrown by the SDK.
|
class |
LicenseSpringServerException
* LicenseSpringServerException is used when there is an issue with the server processing of
licenses.
|
Modifier and Type | Class and Description |
---|---|
class |
ConnectionException
This Exception will be thrown if
IOException occurs while trying to connect to
LicenseSpring API. |
class |
InfrastructureException
A common class for all Infrastructure based exceptions.
|
class |
ServerError
A server error occurs when LS servers return a range of codes from [500 - 600)
|
Modifier and Type | Class and Description |
---|---|
class |
CloudCheckException
In case of errors, all cloud based (node-locking) calls to metadata servers produce a subtype of
this exception.
|
class |
MetadataServiceBlockedException
This exception is thrown when app is unable to connect to Metadata Service.
|
class |
NotCloudPlatformException
This exception occurs if app is trying to connect to Metadata Service from device that is not
running on Cloud Platform.
|
class |
WrongPlatformException
This Exception occurs the application is trying to fetch the incorrect platform's instance ID.
|
Modifier and Type | Class and Description |
---|---|
class |
ClientValidationException
Client validation exceptions occur when the SDK concludes that something is wrong with the
current license (locally).
|
class |
ConfigurationException
This exception is thrown when Configuration files are not configured properly.
|
class |
ConsumptionException
The exception is thrown when the SDK detects over consumption on feature or license.
|
class |
LicenseExpiredException
This Exception is thrown when the license expires.
|
class |
ServerValidationException
These represent 4xx errors returned by the LicenseSpring errors.
|
Copyright © 2025 Cense Data Inc.. All rights reserved.