java.lang.Object
java.lang.Throwable
java.lang.Exception
io.hotmoka.patricia.api.KeyValueStoreException
- All Implemented Interfaces:
Serializable
An exception stating that the execution of a method of a key/value store failed to complete correctly.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new exception.KeyValueStoreException(String message) Creates a new exception with the given message.KeyValueStoreException(String message, Throwable cause) Creates a new exception with the given message and cause.KeyValueStoreException(Throwable cause) Creates a new exception with the given cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
KeyValueStoreException
public KeyValueStoreException()Creates a new exception. -
KeyValueStoreException
Creates a new exception with the given message.- Parameters:
message- the message
-
KeyValueStoreException
Creates a new exception with the given cause.- Parameters:
cause- the cause
-
KeyValueStoreException
Creates a new exception with the given message and cause.- Parameters:
message- the messagecause- the cause
-