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

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

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

      • SaLicenseNotAllowedException

        public SaLicenseNotAllowedException​(java.lang.String message,
                                            int licenseType)
        Constructor.
        Parameters:
        message - the error message that describes this exception
        licenseType - 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 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