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 Details

    • RealmLookupException

      public RealmLookupException(String errorCode, String realm)
      Constructs a new exception with the specified detail message and cause.
      Parameters:
      errorCode - Key to the IdRepoBundle#BUNDLE_NAME resource bundle.
      realm - The realm.
    • RealmLookupException

      public RealmLookupException(Throwable cause)
      Constructs a new exception with the specified Throwable.
      Parameters:
      cause - The cause.
  • Method Details

    • getRealm

      public String getRealm()
      Gets the realm that could not be found.
      Returns:
      The realm.