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:
java.io.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SaLicenseNotAllowedException(java.lang.String message, int licenseType)
Constructor.SaLicenseNotAllowedException(java.lang.String message, java.lang.Throwable cause, int licenseType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLicenseType()
-
-
-
Constructor Detail
-
SaLicenseNotAllowedException
public SaLicenseNotAllowedException(java.lang.String message, int licenseType)
Constructor.- Parameters:
message
- the error message that describes this exceptionlicenseType
- the type of license that was used in the failed logon-attempt
-
SaLicenseNotAllowedException
public SaLicenseNotAllowedException(java.lang.String message, java.lang.Throwable cause, int licenseType)
- 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
-
-