Class StorageDriverPreconditionFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- fr.gouv.vitam.storage.driver.exception.StorageDriverException
-
- fr.gouv.vitam.storage.driver.exception.StorageDriverPreconditionFailedException
-
- All Implemented Interfaces:
java.io.Serializable
public class StorageDriverPreconditionFailedException extends StorageDriverException
Exceptions to be thrown by the storage drivers in case resource requested is already existing- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StorageDriverPreconditionFailedException(java.lang.String driverInfos, java.lang.String message)
Constructor with a message and additional info about the driverStorageDriverPreconditionFailedException(java.lang.String driverInfos, java.lang.String message, java.lang.Throwable cause)
Constructor with a message and an original exception and additional info about the driverStorageDriverPreconditionFailedException(java.lang.String driverInfos, java.lang.Throwable cause)
Constructor with an original exception and additional info about the driver
-
Method Summary
-
Methods inherited from class fr.gouv.vitam.storage.driver.exception.StorageDriverException
getDriverInfo, isShouldRetry
-
-
-
-
Constructor Detail
-
StorageDriverPreconditionFailedException
public StorageDriverPreconditionFailedException(java.lang.String driverInfos, java.lang.String message)
Constructor with a message and additional info about the driver- Parameters:
driverInfos
- information about the driver (id, name, version...)message
- a message to add
-
StorageDriverPreconditionFailedException
public StorageDriverPreconditionFailedException(java.lang.String driverInfos, java.lang.String message, java.lang.Throwable cause)
Constructor with a message and an original exception and additional info about the driver- Parameters:
driverInfos
- information about the driver (id, name, version...)message
- the exception messagecause
- the original exception
-
StorageDriverPreconditionFailedException
public StorageDriverPreconditionFailedException(java.lang.String driverInfos, java.lang.Throwable cause)
Constructor with an original exception and additional info about the driver- Parameters:
driverInfos
- information about the driver (id, name, version...)cause
- the original exception
-
-