public class StorageDriverException extends Exception
Constructor and Description |
---|
StorageDriverException(String driverInfos,
boolean shouldRetry,
Throwable cause)
Constructor with an original exception and additional info about the
driver
|
StorageDriverException(String driverInfos,
String message,
boolean shouldRetry)
Constructor with a message and additional info about the driver
|
StorageDriverException(String driverInfos,
String message,
boolean shouldRetry,
Throwable cause)
Constructor with a message and an original exception and additional info
about the driver
|
Modifier and Type | Method and Description |
---|---|
String |
getDriverInfo()
Get the driverInfo
|
boolean |
isShouldRetry() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public StorageDriverException(String driverInfos, String message, boolean shouldRetry)
driverInfos
- information about the driver (id, name, version...)message
- a message to addpublic StorageDriverException(String driverInfos, String message, boolean shouldRetry, Throwable cause)
driverInfos
- information about the driver (id, name, version...)message
- the exception messagecause
- the original exceptionpublic String getDriverInfo()
public boolean isShouldRetry()
Copyright © 2019 Vitam. All rights reserved.