@InterfaceAudience.Public 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 numRetries,
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, toString
public 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 up@InterfaceAudience.Private public RetriesExhaustedException(int numRetries, List<RetriesExhaustedException.ThrowableWithExtraContext> exceptions)
numRetries
- How many times we have retried, one less than total attemptsexceptions
- List of exceptions that failed before giving upCopyright © 2007–2019 Cloudera. All rights reserved.