Package org.wildfly.security.auth.server
Class RealmUnavailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.wildfly.security.auth.server.RealmUnavailableException
- All Implemented Interfaces:
Serializable
An exception to indicate a general underlying failure of the realm.
Realms should only make use of this exception for general failures within the realm such as being unable to communicate with
a remote store of users rather than to report errors with a specific authentication request.
- Author:
- Darran Lofthouse
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newRealmUnavailableExceptioninstance.Constructs a newRealmUnavailableExceptioninstance with an initial message.RealmUnavailableException(String msg, Throwable cause) Constructs a newRealmUnavailableExceptioninstance with an initial message and cause.Constructs a newRealmUnavailableExceptioninstance 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 Details
-
RealmUnavailableException
public RealmUnavailableException()Constructs a newRealmUnavailableExceptioninstance. The message is left blank (null), and no cause is specified. -
RealmUnavailableException
Constructs a newRealmUnavailableExceptioninstance with an initial message. No cause is specified.- Parameters:
msg- the message
-
RealmUnavailableException
Constructs a newRealmUnavailableExceptioninstance with an initial cause. If a non-nullcause is specified, its message is used to initialize the message of thisRealmUnavailableException; otherwise the message is left blank (null).- Parameters:
cause- the cause
-
RealmUnavailableException
Constructs a newRealmUnavailableExceptioninstance with an initial message and cause.- Parameters:
msg- the messagecause- the cause
-