Class StorageDriverException

    • Constructor Summary

      Constructors 
      Constructor Description
      StorageDriverException​(java.lang.String driverInfos, boolean shouldRetry, java.lang.Throwable cause)
      Constructor with an original exception and additional info about the driver
      StorageDriverException​(java.lang.String driverInfos, java.lang.String message, boolean shouldRetry)
      Constructor with a message and additional info about the driver
      StorageDriverException​(java.lang.String driverInfos, java.lang.String message, boolean shouldRetry, java.lang.Throwable cause)
      Constructor with a message and an original exception and additional info about the driver
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDriverInfo()
      Get the driverInfo
      boolean isShouldRetry()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • StorageDriverException

        public StorageDriverException​(java.lang.String driverInfos,
                                      java.lang.String message,
                                      boolean shouldRetry)
        Constructor with a message and additional info about the driver
        Parameters:
        driverInfos - information about the driver (id, name, version...)
        message - a message to add
      • StorageDriverException

        public StorageDriverException​(java.lang.String driverInfos,
                                      java.lang.String message,
                                      boolean shouldRetry,
                                      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 message
        cause - the original exception
      • StorageDriverException

        public StorageDriverException​(java.lang.String driverInfos,
                                      boolean shouldRetry,
                                      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
    • Method Detail

      • getDriverInfo

        public java.lang.String getDriverInfo()
        Get the driverInfo
        Returns:
        driverInfo
      • isShouldRetry

        public boolean isShouldRetry()