Module java.base

Class CredentialException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CredentialExpiredException, CredentialNotFoundException

public class CredentialException extends LoginException
A generic credential exception.
Since:
1.5
See Also:
  • Constructor Details

    • CredentialException

      public CredentialException()
      Constructs a CredentialException with no detail message. A detail message is a String that describes this particular exception.
    • CredentialException

      public CredentialException(String msg)
      Constructs a CredentialException with the specified detail message. A detail message is a String that describes this particular exception.
      Parameters:
      msg - the detail message.