Class InvalidLicenseException

All Implemented Interfaces:
Serializable

public class InvalidLicenseException extends AppException
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 Details

    • InvalidLicenseException

      public InvalidLicenseException(String message, LicenseContext context)
      Constructs the exception with a number of server settings.
      Parameters:
      message - The message for the exception.
      context - The current license context.
    • InvalidLicenseException

      public InvalidLicenseException(LicenseContext context)
      Constructs the exception with a number of server settings.
      Parameters:
      context - The current license context.
  • Method Details

    • getLicenseContext

      public LicenseContext 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.