@InterfaceAudience.Public @InterfaceStability.Stable public class RetriesExhaustedException extends IOException
限定符和类型 | 类和说明 |
---|---|
static class |
RetriesExhaustedException.ThrowableWithExtraContext
Datastructure that allows adding more info around Throwable incident.
|
构造器和说明 |
---|
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) |
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 numTries, List<RetriesExhaustedException.ThrowableWithExtraContext> exceptions)
numTries
- exceptions
- List of exceptions that failed before giving upCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.