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:
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:
-
Field Summary
Fields inherited from class java.rmi.RemoteException
detail -
Constructor Summary
ConstructorsConstructorDescriptionSaRMILicenseNotAllowedException(String errorMessage, int licenseType) Constructor.SaRMILicenseNotAllowedException(String errorMessage, Throwable cause, int licenseType) -
Method Summary
Methods inherited from class com.saperion.rmi.serverexception.SaRMIBaseException
getStackTraceStringMethods inherited from class java.rmi.RemoteException
getCause, getMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SaRMILicenseNotAllowedException
Constructor.- Parameters:
errorMessage- the error message that describes this exceptionlicenseType- the type of license that was used in the failed logon-attempt
-
SaRMILicenseNotAllowedException
- 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
-
-
Method Details
-
getLicenseType
public int getLicenseType()- Returns:
- the license-type that was used in the failed logon-attempt
-