public class DataStoreProviderException extends L10NMessageImpl
Constructor and Description |
---|
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. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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 nullCopyright © 2010-2018, ForgeRock All Rights Reserved.