org.exolab.castor.jdo

Class PersistenceException

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

public class PersistenceException
extends Exception

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: 1.1.1.1 $ $Date: 2003/03/03 07:08:08 $
Author:
Assaf Arkin

Constructor Summary

PersistenceException(String message)
PersistenceException(String message, Exception except)

Method Summary

Exception
getException()
void
printStackTrace()
void
printStackTrace(PrintStream print)
void
printStackTrace(PrintWriter print)

Constructor Details

PersistenceException

public PersistenceException(String message)

PersistenceException

public PersistenceException(String message,
                            Exception except)

Method Details

getException

public Exception getException()

printStackTrace

public void printStackTrace()

printStackTrace

public void printStackTrace(PrintStream print)

printStackTrace

public void printStackTrace(PrintWriter print)

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