Team LiB
Previous Section Next Section

CredentialExceptionjavax.security.auth.login

Java 5.0serializable checked

An exception of this type indicates a problem with the credential (e.g., the password) presented during the login attempt. Subclasses provide more detail.

Figure 19-23. javax.security.auth.login.CredentialException


public class CredentialException extends LoginException {
// Public Constructors
     public CredentialException( );  
     public CredentialException(String msg);  
}

Subclasses

CredentialExpiredException, CredentialNotFoundException

    Team LiB
    Previous Section Next Section