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
public class RealmUnavailableException extends IOException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RealmUnavailableException()
Constructs a newRealmUnavailableException
instance.RealmUnavailableException(String msg)
Constructs a newRealmUnavailableException
instance with an initial message.RealmUnavailableException(String msg, Throwable cause)
Constructs a newRealmUnavailableException
instance with an initial message and cause.RealmUnavailableException(Throwable cause)
Constructs a newRealmUnavailableException
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
-
RealmUnavailableException
public RealmUnavailableException()
Constructs a newRealmUnavailableException
instance. The message is left blank (null
), and no cause is specified.
-
RealmUnavailableException
public RealmUnavailableException(String msg)
Constructs a newRealmUnavailableException
instance with an initial message. No cause is specified.- Parameters:
msg
- the message
-
RealmUnavailableException
public RealmUnavailableException(Throwable cause)
Constructs a newRealmUnavailableException
instance with an initial cause. If a non-null
cause is specified, its message is used to initialize the message of thisRealmUnavailableException
; otherwise the message is left blank (null
).- Parameters:
cause
- the cause
-
-