Class CredentialsException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CredentialsExpiredException, CredentialsIncorrectException

public abstract class CredentialsException extends AuthenticationException
The root of the hierarchy of all credential-related authentication exceptions.

This class is abstract because this exception should not be constructed directly. Rather, a more detailed subclass should be constructed and thrown.

Since:
1.7
See Also:
  • Constructor Details

    • CredentialsException

      public CredentialsException(String message)
      Constructs an CredentialsException with the specified detail message.
      Parameters:
      message - the detail message (which is saved for later retrieval by the AbstractCheckedException.getMessage() method).