public class StorageException extends Exception
Constructor and 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(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
Constructs a storage exception with a message and a cause.
|
StorageException(Throwable cause)
Constructs a storage exception with a cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public StorageException(String message)
message
- A message about the exceptionpublic StorageException(String message, Throwable cause)
message
- A message about the exceptioncause
- The cause of the exceptionpublic StorageException(Throwable cause)
cause
- The cause of the exceptionpublic StorageException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
message
- A message about the exception.cause
- The cause of the exceptionenableSuppression
- Enable suppression.writableStackTrace
- Enable writable stack trace.Copyright © 2018. All rights reserved.