org.odmg
Class TransactionAbortedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.odmg.ODMGRuntimeException
                  extended by org.odmg.TransactionAbortedException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
TransactionAbortedExceptionOJB

public class TransactionAbortedException
extends ODMGRuntimeException

This exception is thrown when the database asynchronously and explicitly aborts the user's transaction due to some failure, the user's data is reset just as if the user had directly called Transaction.abort.

Version:
ODMG 3.0
Author:
David Jordan (as Java Editor of the Object Data Management Group)
See Also:
Serialized Form

Constructor Summary
TransactionAbortedException()
          Constructs an instance of the exception.
TransactionAbortedException(java.lang.String msg)
          Constructs an instance of the exception with the provided message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionAbortedException

public TransactionAbortedException()
Constructs an instance of the exception.


TransactionAbortedException

public TransactionAbortedException(java.lang.String msg)
Constructs an instance of the exception with the provided message.

Parameters:
msg - The message that describes the exception.


(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30