org.apache.hadoop.hbase.client
Class RetriesExhaustedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.hbase.client.RetriesExhaustedException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- RetriesExhaustedWithDetailsException
@InterfaceAudience.Public
@InterfaceStability.Stable
public class RetriesExhaustedException
- extends IOException
Exception thrown by HTable methods when an attempt to do something (like
commit changes) fails after a bunch of retries.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
RetriesExhaustedException
public RetriesExhaustedException(String msg)
RetriesExhaustedException
public RetriesExhaustedException(String msg,
IOException e)
RetriesExhaustedException
public RetriesExhaustedException(String callableVitals,
int numTries,
List<Throwable> exceptions)
- Create a new RetriesExhaustedException from the list of prior failures.
- Parameters:
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
RetriesExhaustedException
public RetriesExhaustedException(int numTries,
List<RetriesExhaustedException.ThrowableWithExtraContext> exceptions)
- Create a new RetriesExhaustedException from the list of prior failures.
- Parameters:
numTries
- exceptions
- List of exceptions that failed before giving up
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.