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 whenRetrierfailed to execute aIRetriableinstance. In cases there were multiple failed attempts,Throwable.getCause()will return the last exception captured. You can get all exceptions captured byRetrierwithgetAllCauses()(up to a maximum specified byRetrier).- Since:
- 1.13.0
- Author:
- Pascal Essiembre
- See Also:
Retrier, Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods 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
-
-
-
-
Method Detail
-
getAllCauses
public Throwable[] getAllCauses()
-
-