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