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

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

Constructor Summary
RetriesExhaustedException(String msg)
           
RetriesExhaustedException(String serverName, byte[] regionName, byte[] row, 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 serverName,
                                 byte[] regionName,
                                 byte[] row,
                                 int numTries,
                                 List<Throwable> exceptions)
Create a new RetriesExhaustedException from the list of prior failures.

Parameters:
serverName - name of HRegionServer
regionName - name of region
row - The row we were pursuing when we ran out of retries
numTries - The number of tries we made
exceptions - List of exceptions that failed before giving up


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.