@InterfaceAudience.Public @InterfaceStability.Stable public class RetriesExhaustedException extends IOException
| Modifier and Type | Class and Description |
|---|---|
static class |
RetriesExhaustedException.ThrowableWithExtraContext
Datastructure that allows adding more info around Throwable incident.
|
| Constructor and Description |
|---|
RetriesExhaustedException(int numTries,
List<RetriesExhaustedException.ThrowableWithExtraContext> exceptions)
Create a new RetriesExhaustedException from the list of prior failures.
|
RetriesExhaustedException(String msg) |
RetriesExhaustedException(String callableVitals,
int numTries,
List<Throwable> exceptions)
Create a new RetriesExhaustedException from the list of prior failures.
|
RetriesExhaustedException(String msg,
IOException e) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RetriesExhaustedException(String msg)
public RetriesExhaustedException(String msg, IOException e)
public RetriesExhaustedException(String callableVitals, int numTries, List<Throwable> exceptions)
callableVitals - Details from the Callable we were using
when we got this exception.numTries - The number of tries we madeexceptions - List of exceptions that failed before giving uppublic RetriesExhaustedException(int numTries,
List<RetriesExhaustedException.ThrowableWithExtraContext> exceptions)
numTries - exceptions - List of exceptions that failed before giving upCopyright © 2014 The Apache Software Foundation. All rights reserved.