Package com.saperion.rmi.serverexception
Class SaRMILicenseNotAllowedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- java.rmi.RemoteException
-
- com.saperion.rmi.serverexception.SaRMIBaseException
-
- com.saperion.rmi.serverexception.SaRMIAuthenticationException
-
- com.saperion.rmi.serverexception.SaRMILicenseNotAllowedException
-
- All Implemented Interfaces:
java.io.Serializable
public class SaRMILicenseNotAllowedException extends SaRMIAuthenticationException
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 SaRMILicenseNotAllowedException(java.lang.String errorMessage, int licenseType)
Constructor.SaRMILicenseNotAllowedException(java.lang.String errorMessage, java.lang.Throwable cause, int licenseType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLicenseType()
-
Methods inherited from class com.saperion.rmi.serverexception.SaRMIBaseException
getStackTraceString
-
-
-
-
Constructor Detail
-
SaRMILicenseNotAllowedException
public SaRMILicenseNotAllowedException(java.lang.String errorMessage, int licenseType)
Constructor.- Parameters:
errorMessage
- the error message that describes this exceptionlicenseType
- the type of license that was used in the failed logon-attempt
-
SaRMILicenseNotAllowedException
public SaRMILicenseNotAllowedException(java.lang.String errorMessage, java.lang.Throwable cause, int licenseType)
- Parameters:
errorMessage
- 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
-
-