org.apache.commons.mapper
Class ObjectNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.commons.mapper.MapperException
              extended by org.apache.commons.mapper.ObjectNotFoundException
All Implemented Interfaces:
Serializable

public class ObjectNotFoundException
extends MapperException

Indicates that the requested Object could not be found in the datastore. Many times this is an acceptable condition and the Object can be set to null. However, if the client code expects a valid object, this exception can be thrown to indicate the error.

See Also:
Serialized Form

Constructor Summary
ObjectNotFoundException()
          Constructor for ObjectNotFoundException.
ObjectNotFoundException(String description)
          Constructor for ObjectNotFoundException.
ObjectNotFoundException(String description, Throwable cause)
          Constructor for ObjectNotFoundException.
ObjectNotFoundException(Throwable cause)
          Constructor for ObjectNotFoundException.
 
Method Summary
 
Methods inherited from class org.apache.commons.mapper.MapperException
getCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

ObjectNotFoundException

public ObjectNotFoundException()
Constructor for ObjectNotFoundException.


ObjectNotFoundException

public ObjectNotFoundException(String description)
Constructor for ObjectNotFoundException.

Parameters:
description -

ObjectNotFoundException

public ObjectNotFoundException(String description,
                               Throwable cause)
Constructor for ObjectNotFoundException.

Parameters:
description -
cause -

ObjectNotFoundException

public ObjectNotFoundException(Throwable cause)
Constructor for ObjectNotFoundException.

Parameters:
cause -


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.