Class CredentialsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.shiro.lang.ShiroException
org.apache.shiro.authc.AuthenticationException
org.apache.shiro.authc.CredentialsException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ExpiredCredentialsException, IncorrectCredentialsException

Exception thrown due to a problem with the credential(s) submitted for an account during the authentication process.
Since:
0.1
See Also:
  • Constructor Details

    • CredentialsException

      Creates a new CredentialsException.
    • CredentialsException

      public CredentialsException(String message)
      Constructs a new CredentialsException.
      Parameters:
      message - the reason for the exception
    • CredentialsException

      Constructs a new CredentialsException.
      Parameters:
      cause - the underlying Throwable that caused this exception to be thrown.
    • CredentialsException

      public CredentialsException(String message, Throwable cause)
      Constructs a new CredentialsException.
      Parameters:
      message - the reason for the exception
      cause - the underlying Throwable that caused this exception to be thrown.