Package org.forgerock.openam.core.realms
Class RealmLookupException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sun.identity.shared.locale.L10NMessageImpl
org.forgerock.openam.core.realms.RealmLookupException
- All Implemented Interfaces:
com.sun.identity.shared.locale.L10NMessage,Serializable
public class RealmLookupException
extends com.sun.identity.shared.locale.L10NMessageImpl
Signals that the realm
String used to lookup a realm failed due to it being
an invalid realm identifier or the lookup operation failed.- Since:
- 14.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRealmLookupException(String errorCode, String realm) Constructs a new exception with the specified detail message and cause.RealmLookupException(Throwable cause) Constructs a new exception with the specifiedThrowable. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RealmLookupException
Constructs a new exception with the specified detail message and cause.- Parameters:
errorCode- Key to theIdRepoBundle#BUNDLE_NAMEresource bundle.realm- The realm.
-
RealmLookupException
Constructs a new exception with the specifiedThrowable.- Parameters:
cause- The cause.
-
-
Method Details
-
getRealm
Gets the realm that could not be found.- Returns:
- The realm.
-