Class StorageException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.hyperledger.besu.plugin.services.exception.StorageException
-
- All Implemented Interfaces:
java.io.Serializable
public class StorageException extends java.lang.RuntimeException
Base exception class for problems encountered in the domain for storage.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StorageException(java.lang.String message)
Constructs a new storage exception with the specified detail message.StorageException(java.lang.String message, java.lang.Throwable cause)
Constructs a new storage exception with the specified detail message and cause.StorageException(java.lang.Throwable cause)
Constructs a new storage exception with the specified cause.
-
-
-
Constructor Detail
-
StorageException
public StorageException(java.lang.Throwable cause)
Constructs a new storage exception with the specified cause.- Parameters:
cause
- saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)
-
StorageException
public StorageException(java.lang.String message, java.lang.Throwable cause)
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). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)
-
StorageException
public StorageException(java.lang.String message)
Constructs a new storage exception with the specified detail message.- Parameters:
message
- the detail that may be retrieved later by Throwable.getMessage().
-
-