com.amazon.carbonado
Class FetchNoneException

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

public class FetchNoneException
extends FetchException

A FetchNoneException is thrown when a fetch operation returned no records when at least one was expected.

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

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

FetchNoneException

public FetchNoneException()

FetchNoneException

public FetchNoneException(String message)

FetchNoneException

public FetchNoneException(String message,
                          Throwable cause)

FetchNoneException

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