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:
Serializable

public class StorageDriverPreconditionFailedException extends StorageDriverException
Exceptions to be thrown by the storage drivers in case resource requested is already existing
See Also:
  • Constructor Details

    • StorageDriverPreconditionFailedException

      public StorageDriverPreconditionFailedException(String driverInfos, 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(String driverInfos, String message, 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 message
      cause - the original exception
    • StorageDriverPreconditionFailedException

      public StorageDriverPreconditionFailedException(String driverInfos, 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