Java In A Nutshell, 5th Edition

CredentialException javax.security.auth.login

Java 5.0 serializable 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

Категории