Package ai.preferred.venom.storage
Class StorageException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- ai.preferred.venom.storage.StorageException
-
- All Implemented Interfaces:
Serializable
public class StorageException extends Exception
- Author:
- Maksim Tkachenko
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StorageException(String message)
Constructs a storage exception with a message.StorageException(String message, Throwable cause)
Constructs a storage exception with a message and a cause.StorageException(Throwable cause)
Constructs a storage exception with a cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
StorageException
public StorageException(String message)
Constructs a storage exception with a message.- Parameters:
message
- A message about the exception
-
StorageException
public StorageException(String message, Throwable cause)
Constructs a storage exception with a message and a cause.- Parameters:
message
- A message about the exceptioncause
- The cause of the exception
-
StorageException
public StorageException(Throwable cause)
Constructs a storage exception with a cause.- Parameters:
cause
- The cause of the exception
-
-