javax.security.auth.login
Class CredentialException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.security.GeneralSecurityException
javax.security.auth.login.LoginException
javax.security.auth.login.CredentialException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- CredentialExpiredException, CredentialNotFoundException
public class CredentialException
- extends LoginException
This is the base class for various credential-related exceptions.
- Since:
- 1.5
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CredentialException
public CredentialException()
- Create a new exception object.
CredentialException
public CredentialException(String message)
- Create a new exception with the given detail message.
- Parameters:
message
- the detail message