Class CredentialStoreException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.security.GeneralSecurityException
-
- org.wildfly.security.credential.store.CredentialStoreException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UnsupportedCredentialTypeException
public class CredentialStoreException extends GeneralSecurityException
An exception indicating that operation withCredentialStore
has failed.- Author:
- Peter Skopek.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CredentialStoreException()
Constructs a newCredentialStoreException
instance.CredentialStoreException(String msg)
Constructs a newCredentialStoreException
instance with an initial message.CredentialStoreException(String message, Throwable cause)
Constructs a newCredentialStoreException
instance with an initial message and cause.CredentialStoreException(Throwable cause)
Constructs a newCredentialStoreException
instance with an initial cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CredentialStoreException
public CredentialStoreException()
Constructs a newCredentialStoreException
instance. The message is left blank (null
), and no cause is specified.
-
CredentialStoreException
public CredentialStoreException(String msg)
Constructs a newCredentialStoreException
instance with an initial message. No cause is specified.- Parameters:
msg
- the message
-
CredentialStoreException
public CredentialStoreException(String message, Throwable cause)
Constructs a newCredentialStoreException
instance with an initial message and cause.- Parameters:
message
- the messagecause
- the cause
-
CredentialStoreException
public CredentialStoreException(Throwable cause)
Constructs a newCredentialStoreException
instance with an initial cause. If a non-null
cause is specified, its message is used to initialize the message of thisException
; otherwise the message is left blank (null
).- Parameters:
cause
- the cause
-
-