APIdia Launch Partner
Top Description Fields Constructors
javax.security.auth.login

public Class CredentialException

extends LoginException
Class Inheritance
Known Direct Subclasses
javax.security.auth.login.CredentialExpiredException, javax.security.auth.login.CredentialNotFoundException

A generic credential exception.
Since
1.5

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
CredentialException()

Constructs a CredentialException with no detail message.

public
CredentialException(String
the detail message.
msg
)

Constructs a CredentialException with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.security.auth.login.LoginException.serialVersionUID.

Annotations
@Serial

Constructor Detail

CredentialExceptionback to summary
public CredentialException()

Constructs a CredentialException with no detail message. A detail message is a String that describes this particular exception.

CredentialExceptionback to summary
public CredentialException(String msg)

Constructs a CredentialException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters
msg:String

the detail message.