org.exolab.castor.jdo

Class ObjectNotPersistentException

Known Direct Subclasses:
ObjectDeletedException

public class ObjectNotPersistentException
extends PersistenceException

Exception indicating object is not persistent. Thrown when attempting to remove or lock a transient object.
Version:
$Revision: 5951 $ $Date: 2005-12-13 14:58:48 -0700 (Tue, 13 Dec 2005) $
Author:
Assaf Arkin

Constructor Summary

ObjectNotPersistentException(String message)
Creates a new CastorException with the given message.
ObjectNotPersistentException(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

ObjectNotPersistentException

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

ObjectNotPersistentException

public ObjectNotPersistentException(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