Class 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
    • Field Summary

      • Fields inherited from class java.rmi.RemoteException

        detail
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getLicenseType()  
      • Methods inherited from class java.rmi.RemoteException

        getCause, getMessage
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SaRMILicenseNotAllowedException

        public SaRMILicenseNotAllowedException​(java.lang.String errorMessage,
                                               int licenseType)
        Constructor.
        Parameters:
        errorMessage - the error message that describes this exception
        licenseType - 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 exception
        cause - the exception that caused this exception
        licenseType - the type of license that was used in the failed logon-attempt
    • Method Detail

      • getLicenseType

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