|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.sun.identity.shared.locale.L10NMessageImpl com.sun.identity.plugin.datastore.DataStoreProviderException
public class DataStoreProviderException
This class is to handle DataStoreProvider related exceptions.
Constructor Summary | |
---|---|
DataStoreProviderException(Exception ex)
Constructs a DataStoreProviderException with an exception. |
|
DataStoreProviderException(String message)
Constructs a DataStoreProviderException with a detailed
message. |
|
DataStoreProviderException(String rbName,
String errorCode,
Object[] args)
Constructs a new DataStoreProviderException without a nested
Throwable . |
|
DataStoreProviderException(Throwable rootCause)
Constructs a DataStoreProviderException with
an embedded exception. |
Constructor Detail |
---|
public DataStoreProviderException(String message)
DataStoreProviderException
with a detailed
message.
message
- Detailed message for this exception.public DataStoreProviderException(Throwable rootCause)
DataStoreProviderException
with
an embedded exception.
rootCause
- An embedded exceptionpublic DataStoreProviderException(Exception ex)
DataStoreProviderException
with an exception.
ex
- an exceptionpublic DataStoreProviderException(String rbName, String errorCode, Object[] args)
DataStoreProviderException
without a nested
Throwable
.
rbName
- Resource Bundle Name to be used for getting
localized error message.errorCode
- Key to resource bundle. You can use
ResourceBundle rb = ResourceBunde.getBundle (rbName,locale); String localizedStr = rb.getString(errorCode);
args
- arguments to message. If it is not present pass them
as null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |