Class DataStoreProviderException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.sun.identity.shared.locale.L10NMessageImpl
-
- com.sun.identity.plugin.datastore.DataStoreProviderException
-
- All Implemented Interfaces:
com.sun.identity.shared.locale.L10NMessage
,Serializable
@SupportedAll public class DataStoreProviderException extends com.sun.identity.shared.locale.L10NMessageImpl
This class is to handle DataStoreProvider related exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataStoreProviderException(Exception ex)
Constructs aDataStoreProviderException
with an exception.DataStoreProviderException(String message)
Constructs aDataStoreProviderException
with a detailed message.DataStoreProviderException(String rbName, String errorCode, Object[] args)
Constructs a newDataStoreProviderException
without a nestedThrowable
.DataStoreProviderException(Throwable rootCause)
Constructs aDataStoreProviderException
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
-
DataStoreProviderException
public DataStoreProviderException(String message)
Constructs aDataStoreProviderException
with a detailed message.- Parameters:
message
- Detailed message for this exception.
-
DataStoreProviderException
public DataStoreProviderException(Throwable rootCause)
Constructs aDataStoreProviderException
with an embedded exception.- Parameters:
rootCause
- An embedded exception
-
DataStoreProviderException
public DataStoreProviderException(Exception ex)
Constructs aDataStoreProviderException
with an exception.- Parameters:
ex
- an exception
-
DataStoreProviderException
public DataStoreProviderException(String rbName, String errorCode, Object[] args)
Constructs a newDataStoreProviderException
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 = ResourceBunde.getBundle (rbName,locale); String localizedStr = rb.getString(errorCode);
args
- arguments to message. If it is not present pass them as null
-
-