Package com.saperion.exception
Class SaLicenseNotAllowedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.saperion.exception.SaBasicException
com.saperion.exception.SaAuthenticationException
com.saperion.exception.SaLicenseNotAllowedException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionSaLicenseNotAllowedException
(String message, int licenseType) Constructor.SaLicenseNotAllowedException
(String message, Throwable cause, int licenseType) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SaLicenseNotAllowedException
Constructor.- Parameters:
message
- the error message that describes this exceptionlicenseType
- the type of license that was used in the failed logon-attempt
-
SaLicenseNotAllowedException
- Parameters:
message
- the error message that describes this exceptioncause
- the exception that caused this exceptionlicenseType
- 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
-