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