Source code: org/odmg/TransactionAbortedException.java
1 package org.odmg;
2
3 /**
4 * This exception is thrown when the database asynchronously and explicitly
5 * aborts the user's transaction due to some failure, the user's data is reset
6 * just as if the user had directly called <code>Transaction.abort</code>.
7 * @author David Jordan (as Java Editor of the Object Data Management Group)
8 * @version ODMG 3.0
9 */
10
11 public class TransactionAbortedException extends ODMGRuntimeException
12 {
13 /**
14 * Constructs an instance of the exception.
15 */
16 public TransactionAbortedException()
17 {
18 super();
19 }
20
21 /**
22 * Constructs an instance of the exception with the provided message.
23 * @param msg The message that describes the exception.
24 */
25 public TransactionAbortedException(String msg)
26 {
27 super(msg);
28 }
29 }