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:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionConstructs aDataStoreProviderExceptionwith an exception.DataStoreProviderException(String message) Constructs aDataStoreProviderExceptionwith a detailed message.DataStoreProviderException(String rbName, String errorCode, Object[] args) Constructs a newDataStoreProviderExceptionwithout a nestedThrowable.DataStoreProviderException(Throwable rootCause) Constructs aDataStoreProviderExceptionwith 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
- 
DataStoreProviderException
Constructs aDataStoreProviderExceptionwith a detailed message.- Parameters:
 message- Detailed message for this exception.
 - 
DataStoreProviderException
Constructs aDataStoreProviderExceptionwith an embedded exception.- Parameters:
 rootCause- An embedded exception
 - 
DataStoreProviderException
Constructs aDataStoreProviderExceptionwith an exception.- Parameters:
 ex- an exception
 - 
DataStoreProviderException
Constructs a newDataStoreProviderExceptionwithout 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
 
 -