java.lang.Object
java.lang.Throwable
java.lang.Exception
java.util.concurrent.TimeoutException
io.helidon.faulttolerance.RetryTimeoutException
- All Implemented Interfaces:
Serializable
Subclass of
TimeoutException
to discern exceptions thrown by a Retry
when its overall timeout is reached versus those thrown by a Timeout
.- See Also:
-
Constructor Summary
ConstructorDescriptionRetryTimeoutException
(Throwable throwable, String message) Constructs aRetryTimeoutException
with the specified detail message. -
Method Summary
Modifier and TypeMethodDescriptionLast exception thrown inRetry
before the overall timeout reached.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RetryTimeoutException
Constructs aRetryTimeoutException
with the specified detail message.- Parameters:
throwable
- last retry exceptionmessage
- the detail message
-
-
Method Details
-
lastRetryException
Last exception thrown inRetry
before the overall timeout reached.- Returns:
- last exception thrown
-