Class RetriableException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.norconex.commons.lang.exec.RetriableException
All Implemented Interfaces:
Serializable

public class RetriableException extends Exception
Exception thrown when Retrier failed to execute a IRetriable instance. In cases there were multiple failed attempts, Throwable.getCause() will return the last exception captured. You can get all exceptions captured by Retrier with getAllCauses() (up to a maximum specified by Retrier).
Since:
1.13.0
See Also:
  • Method Details

    • getAllCauses

      public Throwable[] getAllCauses()