01: package org.odmg;
02:
03: /**
04: * This exception is thrown when a call has been made to a method that
05: * should not be called when a transaction is in progress.
06: * @author David Jordan (as Java Editor of the Object Data Management Group)
07: * @version ODMG 3.0
08: */
09:
10: public class TransactionInProgressException extends
11: ODMGRuntimeException {
12: /**
13: * Constructs an instance of the exception.
14: */
15: public TransactionInProgressException() {
16: super ();
17: }
18:
19: /**
20: * Constructs an instance of the exception with the provided message.
21: * @param msg The message explaining the exception.
22: */
23: public TransactionInProgressException(String msg) {
24: super(msg);
25: }
26: }
|