public static class RetryManager2.TimeoutException extends RuntimeException
| Constructor and Description |
|---|
TimeoutException(String operation,
Instant expectedTimeout,
Instant actualTimeout) |
| Modifier and Type | Method and Description |
|---|---|
Instant |
getActualTimeout()
Returns the instant when the RetryManager decided to abort the operation.
|
Instant |
getExpectedTimeout()
Returns the instant provided to the RetryManager as a timeout limit.
|
String |
getMessage() |
String |
getOperation()
Returns the name of the operation that timed out.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic String getMessage()
getMessage in class Throwablepublic String getOperation()
public Instant getExpectedTimeout()
public Instant getActualTimeout()
Copyright © 2023. All rights reserved.