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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RootUrlProviderException(Exception ex)
Constructs aRootUrlProviderException
with an exception.RootUrlProviderException(String message)
Constructs aRootUrlProviderException
with a detailed message.RootUrlProviderException(String rbName, String errorCode, Object[] args)
Constructs a newRootUrlProviderException
without a nestedThrowable
.RootUrlProviderException(Throwable rootCause)
Constructs aRootUrlProviderException
with 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 Detail
-
RootUrlProviderException
public RootUrlProviderException(String message)
Constructs aRootUrlProviderException
with a detailed message.- Parameters:
message
- Detailed message for this exception.
-
RootUrlProviderException
public RootUrlProviderException(Throwable rootCause)
Constructs aRootUrlProviderException
with an embedded exception.- Parameters:
rootCause
- An embedded exception
-
RootUrlProviderException
public RootUrlProviderException(Exception ex)
Constructs aRootUrlProviderException
with an exception.- Parameters:
ex
- an exception
-
RootUrlProviderException
public RootUrlProviderException(String rbName, String errorCode, Object[] args)
Constructs a newRootUrlProviderException
without 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
-
-