Name
CredentialException
Synopsis
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
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.