Class CloudStorageException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CloudStorageException
    extends java.lang.Exception
    Exception class indicating an error moving data between Ambry and cloud storage.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CloudStorageException​(java.lang.String message)  
      CloudStorageException​(java.lang.String message, java.lang.Throwable e)  
      CloudStorageException​(java.lang.String message, java.lang.Throwable e, int statusCode, boolean isRetryable, java.lang.Long retryDelayMs)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getRetryDelayMs()  
      int getStatusCode()  
      boolean isRetryable()  
      • 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

      • CloudStorageException

        public CloudStorageException​(java.lang.String message)
      • CloudStorageException

        public CloudStorageException​(java.lang.String message,
                                     java.lang.Throwable e)
      • CloudStorageException

        public CloudStorageException​(java.lang.String message,
                                     java.lang.Throwable e,
                                     int statusCode,
                                     boolean isRetryable,
                                     java.lang.Long retryDelayMs)
    • Method Detail

      • getStatusCode

        public int getStatusCode()
      • isRetryable

        public boolean isRetryable()
      • getRetryDelayMs

        public long getRetryDelayMs()