org.iternine.jeppetto.dao
Class TooManyItemsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.iternine.jeppetto.dao.JeppettoException
                  extended by org.iternine.jeppetto.dao.TooManyItemsException
All Implemented Interfaces:
Serializable

public class TooManyItemsException
extends JeppettoException

See Also:
Serialized Form

Constructor Summary
TooManyItemsException()
           
TooManyItemsException(String message)
           
TooManyItemsException(String itemType, String identifier)
          Return an exception which says that more than one item of type itemType with identifier 'identifier' was found.
 
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

TooManyItemsException

public TooManyItemsException()

TooManyItemsException

public TooManyItemsException(String message)

TooManyItemsException

public TooManyItemsException(String itemType,
                             String identifier)
Return an exception which says that more than one item of type itemType with identifier 'identifier' was found.

Parameters:
itemType - A string describing the type of item
identifier - A string identifier for the item


Copyright © 2012. All Rights Reserved.