org.exolab.castor.jdo
Class PersistenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.exolab.castor.jdo.PersistenceException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ClassNotPersistenceCapableException, DatabaseNotFoundException, DuplicateIdentityException, FatalPersistenceException, LockNotGrantedException, ObjectNotFoundException, ObjectNotPersistentException, QueryException, TransactionAbortedException, TransactionNotInProgressException
public class PersistenceException
- extends java.lang.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
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PersistenceException
public PersistenceException(java.lang.String message,
java.lang.Exception except)
PersistenceException
public PersistenceException(java.lang.String message)
getException
public java.lang.Exception getException()
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintStream print)
- Overrides:
printStackTrace
in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintWriter print)
- Overrides:
printStackTrace
in class java.lang.Throwable
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com