org.apache.hadoop.hbase.client
Class RetriesExhaustedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by 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

Nested Class Summary
static class RetriesExhaustedException.ThrowableWithExtraContext
          Datastructure that allows adding more info around Throwable incident.
 
Constructor Summary
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)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 made
exceptions - 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.