com.amazon.carbonado
Class FetchMultipleException

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

public class FetchMultipleException
extends FetchException

A FetchMultipleException is thrown when a fetch operation returned more than one record when at most one was expected.

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

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

FetchMultipleException

public FetchMultipleException()

FetchMultipleException

public FetchMultipleException(String message)

FetchMultipleException

public FetchMultipleException(String message,
                              Throwable cause)

FetchMultipleException

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