com.amazon.carbonado
Class FetchInterruptedException

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.FetchInterruptedException
All Implemented Interfaces:
Serializable

public class FetchInterruptedException
extends FetchException

Thrown from a fetch operation that was canceled.

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

Constructor Summary
FetchInterruptedException()
           
FetchInterruptedException(String message)
           
FetchInterruptedException(String message, Throwable cause)
           
FetchInterruptedException(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

FetchInterruptedException

public FetchInterruptedException()

FetchInterruptedException

public FetchInterruptedException(String message)

FetchInterruptedException

public FetchInterruptedException(String message,
                                 Throwable cause)

FetchInterruptedException

public FetchInterruptedException(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.