org.datanucleus.jdo.exceptions
Class TransactionNotActiveException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.jdo.JDOException
                  extended by javax.jdo.JDOCanRetryException
                      extended by javax.jdo.JDOUserException
                          extended by org.datanucleus.jdo.exceptions.TransactionNotActiveException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
TransactionNotReadableException, TransactionNotWritableException

public class TransactionNotActiveException
extends javax.jdo.JDOUserException

An TransactionNotActiveException is thrown if a transaction is not active and an operation is performed that requires that a transaction be active (such as committing a transaction).

Version:
$Revision: 1.2 $
See Also:
Serialized Form

Constructor Summary
TransactionNotActiveException()
          Constructor.
TransactionNotActiveException(java.lang.String message, java.lang.Object failedObject)
          Constructor.
 
Method Summary
 
Methods inherited from class javax.jdo.JDOException
getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionNotActiveException

public TransactionNotActiveException()
Constructor.


TransactionNotActiveException

public TransactionNotActiveException(java.lang.String message,
                                     java.lang.Object failedObject)
Constructor.

Parameters:
message - the localized error message
failedObject - the failed object


Copyright © 2010. All Rights Reserved.