com.amazon.carbonado
Class FetchTimeoutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.amazon.carbonado.RepositoryException
              extended by com.amazon.carbonado.FetchException
                  extended by com.amazon.carbonado.FetchTimeoutException
All Implemented Interfaces:
Serializable

public class FetchTimeoutException
extends FetchException

Thrown if a fetch operation fails because lock acquisition timed out.

Author:
Brian S O'Neill
See Also:
Serialized Form

Constructor Summary
FetchTimeoutException()
           
FetchTimeoutException(String message)
           
FetchTimeoutException(String message, Throwable cause)
           
FetchTimeoutException(Throwable cause)
           
 
Method Summary
protected  PersistException makePersistException(String message, Throwable cause)
          Subclasses can override this to provide a more specialized exception.
 
Methods inherited from class com.amazon.carbonado.RepositoryException
backoff, getRootCause, makeFetchException, toFetchException, toFetchException, toPersistException, toPersistException
 
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

FetchTimeoutException

public FetchTimeoutException()

FetchTimeoutException

public FetchTimeoutException(String message)

FetchTimeoutException

public FetchTimeoutException(String message,
                             Throwable cause)

FetchTimeoutException

public FetchTimeoutException(Throwable cause)
Method Detail

makePersistException

protected PersistException makePersistException(String message,
                                                Throwable cause)
Description copied from class: RepositoryException
Subclasses can override this to provide a more specialized exception.

Overrides:
makePersistException in class RepositoryException
Parameters:
message - exception message, which may be null
cause - non-null cause


Copyright © 2006-2009 Amazon Technologies, Inc.. All Rights Reserved.