Package com.norconex.commons.lang.exec

# 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:
  - `Retrier`
  - Serialized Form

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Throwable[]`
  `getAllCauses()`

  ### 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`

- ## Method Details

  - ### getAllCauses

    public Throwable[] getAllCauses()