Class InvalidLicenseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aquima.interactions.foundation.exception.AppException
com.aquima.interactions.foundation.lic.InvalidLicenseException
- All Implemented Interfaces:
Serializable
This exception is used to indicate that the license key passed to the portal engine during initialization was not
valid.
- Since:
- 5.1
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorDescriptionInvalidLicenseException
(LicenseContext context) Constructs the exception with a number of server settings.InvalidLicenseException
(String message, LicenseContext context) Constructs the exception with a number of server settings. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the license context.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidLicenseException
Constructs the exception with a number of server settings.- Parameters:
message
- The message for the exception.context
- The current license context.
-
InvalidLicenseException
Constructs the exception with a number of server settings.- Parameters:
context
- The current license context.
-
-
Method Details
-
getLicenseContext
This method returns the license context. The license context contains values that caused the license check to fail.- Returns:
- the license context, never null.
-