Class CredentialsException

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CredentialsException​(java.lang.String message)
      Constructs an CredentialsException with the specified detail message.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

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

      • CredentialsException

        public CredentialsException​(java.lang.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).