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

public Class CredentialNotFoundException

extends CredentialException
Class Inheritance

Signals that a credential was not found.

This exception may be thrown by a LoginModule if it is unable to locate a credential necessary to perform authentication.

Since
1.5

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
CredentialNotFoundException()

Constructs a CredentialNotFoundException with no detail message.

public
CredentialNotFoundException(String
the detail message.
msg
)

Constructs a CredentialNotFoundException with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.security.auth.login.CredentialException.serialVersionUID.

Annotations
@Serial

Constructor Detail

CredentialNotFoundExceptionback to summary
public CredentialNotFoundException()

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

CredentialNotFoundExceptionback to summary
public CredentialNotFoundException(String msg)

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

Parameters
msg:String

the detail message.