org.odmg
Class TransactionAbortedException

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


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14