org.exolab.castor.jdo

Class PersistenceException

Known Direct Subclasses:
ClassNotPersistenceCapableException, DatabaseNotFoundException, DuplicateIdentityException, FatalPersistenceException, LockNotGrantedException, ObjectNotFoundException, ObjectNotPersistentException, QueryException, TransactionAbortedException, TransactionNotInProgressException

public class PersistenceException
extends CastorException

An exception representing another exception (an SQL exception, a JNDI naming exception, etc) raised by the underlying persistence engine. Can be used to obtain information about the underlying exception.
Version:
$Revision: 5951 $ $Date: 2005-12-13 14:58:48 -0700 (Tue, 13 Dec 2005) $
Author:
Assaf Arkin

Constructor Summary

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

PersistenceException

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

PersistenceException

public PersistenceException(String message,
                            Throwable except)
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