org.exolab.castor.jdo
Class PersistenceException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.exolab.castor.jdo.PersistenceException
- 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.2 $ $Date: 2000/11/04 01:31:04 $
- Author:
- Assaf Arkin
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
toString |
Methods inherited from class java.lang.Object |
equals,
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-2001. All rights reserved http://www.intalio.com