public class RetriableException extends Exception
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
).Retrier
,
Serialized FormModifier and Type | Method and Description |
---|---|
Throwable[] |
getAllCauses() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public Throwable[] getAllCauses()
Copyright © 2008–2021 Norconex Inc.. All rights reserved.