Class StorageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hyperledger.besu.plugin.services.exception.StorageException
- All Implemented Interfaces:
Serializable
Base exception class for problems encountered in the domain for storage.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStorageException(String message) Constructs a new storage exception with the specified detail message.StorageException(String message, Throwable cause) Constructs a new storage exception with the specified detail message and cause.StorageException(Throwable cause) Constructs a new storage exception with the specified cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StorageException
Constructs a new storage exception with the specified cause.- Parameters:
cause- saved for later retrieval by theThrowable.getCause()method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-
StorageException
Constructs a new storage exception with the specified detail message and cause.- Parameters:
message- the detail that may be retrieved later by Throwable.getMessage().cause- saved for later retrieval by theThrowable.getCause()method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-
StorageException
Constructs a new storage exception with the specified detail message.- Parameters:
message- the detail that may be retrieved later by Throwable.getMessage().
-