1 package org.odmg;
2
3
4
5 /**
6
7 * This exception is thrown when a call has been made to a method that
8
9 * should not be called when a transaction is in progress.
10
11 * @author David Jordan (as Java Editor of the Object Data Management Group)
12
13 * @version ODMG 3.0
14
15 */
16
17
18
19 public class TransactionInProgressException extends ODMGRuntimeException
20
21 {
22
23 /**
24
25 * Constructs an instance of the exception.
26
27 */
28
29 public TransactionInProgressException()
30
31 {
32
33 super();
34
35 }
36
37
38
39 /**
40
41 * Constructs an instance of the exception with the provided message.
42
43 * @param msg The message explaining the exception.
44
45 */
46
47 public TransactionInProgressException(String msg)
48
49 {
50
51 super(msg);
52
53 }
54
55 }
56