Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 1019
نمايش فراداده

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