@InterfaceAudience.Public public class RetriesExhaustedException extends IOException
| 限定符和类型 | 类和说明 |
|---|---|
static class |
RetriesExhaustedException.ThrowableWithExtraContext
Data structure that allows adding more info around Throwable incident.
|
| 构造器和说明 |
|---|
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) |
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–2020 The Apache Software Foundation. All rights reserved.