org.exolab.castor.jdo

Class ObjectNotFoundException


public class ObjectNotFoundException
extends PersistenceException

An attempt to load an object failed, an object of that type with that primary key was not found in persistent storage.
Version:
$Revision: 5951 $ $Date: 2005-12-13 14:58:48 -0700 (Tue, 13 Dec 2005) $
Author:
Assaf Arkin

Constructor Summary

ObjectNotFoundException(String message)
Creates a new CastorException with the given message.
ObjectNotFoundException(String message, Throwable exception)
Creates a new CastorException with the given message and cause.

Method Summary

Methods inherited from class org.exolab.castor.core.exceptions.CastorException

getCause, getMessage, initCause, printStackTrace, printStackTrace, printStackTrace

Constructor Details

ObjectNotFoundException

public ObjectNotFoundException(String message)
Creates a new CastorException with the given message.
Parameters:
message - the message for this Exception

ObjectNotFoundException

public ObjectNotFoundException(String message,
                               Throwable exception)
Creates a new CastorException with the given message and cause.
Parameters:
message - The message for this exception.

Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com