Class SaLicenseNotAllowedException

All Implemented Interfaces:
Serializable

public class SaLicenseNotAllowedException extends SaAuthenticationException
This exception is thrown when a user logs on with a license that he is not allowed to use because of missing privileges.
See Also:
  • Constructor Details

    • SaLicenseNotAllowedException

      public SaLicenseNotAllowedException(String message, int licenseType)
      Constructor.
      Parameters:
      message - the error message that describes this exception
      licenseType - the type of license that was used in the failed logon-attempt
    • SaLicenseNotAllowedException

      public SaLicenseNotAllowedException(String message, Throwable cause, int licenseType)
      Parameters:
      message - the error message that describes this exception
      cause - the exception that caused this exception
      licenseType - the type of license that was used in the failed logon-attempt
  • Method Details

    • getLicenseType

      public int getLicenseType()
      Returns:
      the license-type that was used in the failed logon-attempt