2.17.2: 2011-06-17

net.sf.basedb.core
Class ItemNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.basedb.core.BaseException
                  extended by net.sf.basedb.core.InvalidDataException
                      extended by net.sf.basedb.core.ItemNotFoundException
All Implemented Interfaces:
Serializable

public class ItemNotFoundException
extends InvalidDataException

This exception is thrown when trying to load an item from the database that does not exist.

Version:
2.0
Author:
Nicklas
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
ItemNotFoundException(String what)
          Creates a new ItemNotFoundException.
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

ItemNotFoundException

public ItemNotFoundException(String what)
Creates a new ItemNotFoundException. The error message produced will look like: Item not found: User[ID=1]

Parameters:
what - A description of what was not found, for example: User[ID=1]

2.17.2: 2011-06-17