Class RootUrlProviderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sun.identity.shared.locale.L10NMessageImpl
org.forgerock.openam.federation.plugin.rooturl.RootUrlProviderException
- All Implemented Interfaces:
com.sun.identity.shared.locale.L10NMessage,Serializable
public class RootUrlProviderException
extends com.sun.identity.shared.locale.L10NMessageImpl
To be used when an exception has occurred in a root url provider.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aRootUrlProviderExceptionwith an exception.RootUrlProviderException(String message) Constructs aRootUrlProviderExceptionwith a detailed message.RootUrlProviderException(String rbName, String errorCode, Object[] args) Constructs a newRootUrlProviderExceptionwithout a nestedThrowable.RootUrlProviderException(Throwable rootCause) Constructs aRootUrlProviderExceptionwith an embedded exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RootUrlProviderException
Constructs aRootUrlProviderExceptionwith a detailed message.- Parameters:
message- Detailed message for this exception.
-
RootUrlProviderException
Constructs aRootUrlProviderExceptionwith an embedded exception.- Parameters:
rootCause- An embedded exception
-
RootUrlProviderException
Constructs aRootUrlProviderExceptionwith an exception.- Parameters:
ex- an exception
-
RootUrlProviderException
Constructs a newRootUrlProviderExceptionwithout a nestedThrowable.- Parameters:
rbName- Resource Bundle Name to be used for getting localized error message.errorCode- Key to resource bundle. You can useResourceBundle rb = ResourceBundle.getBundle (rbName,locale); String localizedStr = rb.getString(errorCode);
args- arguments to message. If it is not present pass them as null
-