01: package org.odmg;
02:
03: /**
04: * This exception is thrown when the database asynchronously and explicitly
05: * aborts the user's transaction due to some failure, the user's data is reset
06: * just as if the user had directly called <code>Transaction.abort</code>.
07: * @author David Jordan (as Java Editor of the Object Data Management Group)
08: * @version ODMG 3.0
09: */
10:
11: public class TransactionAbortedException extends ODMGRuntimeException {
12: /**
13: * Constructs an instance of the exception.
14: */
15: public TransactionAbortedException() {
16: super ();
17: }
18:
19: /**
20: * Constructs an instance of the exception with the provided message.
21: * @param msg The message that describes the exception.
22: */
23: public TransactionAbortedException(String msg) {
24: super(msg);
25: }
26: }
|