01: package org.odmg;
02:
03: /**
04:
05: * This exception is thrown when attempting to perform an operation that
06:
07: * must be performed when there is a transaction is in progress, but no
08:
09: * such 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: * @see ODMGRuntimeException
16:
17: */
18:
19: public class TransactionNotInProgressException extends
20: ODMGRuntimeException
21:
22: {
23:
24: /**
25:
26: * Constructs an instance of the exception.
27:
28: */
29:
30: public TransactionNotInProgressException()
31:
32: {
33:
34: super ();
35:
36: }
37:
38: /**
39:
40: * Constructs an instance of the exception with the provided message.
41:
42: * @param msg A message that describes the exception.
43:
44: */
45:
46: public TransactionNotInProgressException(String msg)
47:
48: {
49:
50: super(msg);
51:
52: }
53:
54: }
|