Package org.forgerock.oauth
Class DataStoreException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.forgerock.oauth.OAuthException
-
- org.forgerock.oauth.DataStoreException
-
- All Implemented Interfaces:
Serializable
public class DataStoreException extends OAuthException
Exception to be used when an error has occurred while interacting with the data store.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataStoreException(String message)
Builds anDataStoreException
with a given message.DataStoreException(String message, Exception cause)
Builds anDataStoreException
with a given message and cause.
-
Method Summary
-
Methods inherited from class org.forgerock.oauth.OAuthException
asPromise
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DataStoreException
public DataStoreException(String message)
Builds anDataStoreException
with a given message.- Parameters:
message
- exception message
-
DataStoreException
public DataStoreException(String message, Exception cause)
Builds anDataStoreException
with a given message and cause.- Parameters:
message
- Exception's messagecause
- Exception cause
-
-