org.exolab.castor.jdo
Class PersistenceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.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

Constructor Summary
PersistenceException(java.lang.String message)
           
PersistenceException(java.lang.String message, java.lang.Exception except)
           
 
Method Summary
 java.lang.Exception getException()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream print)
           
 void printStackTrace(java.io.PrintWriter print)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PersistenceException

public PersistenceException(java.lang.String message,
                            java.lang.Exception except)

PersistenceException

public PersistenceException(java.lang.String message)
Method Detail

getException

public java.lang.Exception getException()

printStackTrace

public void printStackTrace()

printStackTrace

public void printStackTrace(java.io.PrintStream print)

printStackTrace

public void printStackTrace(java.io.PrintWriter print)


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