javax.security.auth.login
Class CredentialException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.security.GeneralSecurityException
              extended by javax.security.auth.login.LoginException
                  extended by 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

Constructor Summary
CredentialException()
          Create a new exception object.
CredentialException(String message)
          Create a new exception with the given detail message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

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