01: package org.odmg;
02:
03: /**
04: * This exception is thrown when attempting to perform an operation that
05: * must be performed when there is a transaction is in progress, but no
06: * such transaction is in progress.
07: * @author David Jordan (as Java Editor of the Object Data Management Group)
08: * @version ODMG 3.0
09: * @see ODMGRuntimeException
10: */
11:
12: public class TransactionNotInProgressException extends
13: ODMGRuntimeException {
14: /**
15: * Constructs an instance of the exception.
16: */
17: public TransactionNotInProgressException() {
18: super ();
19: }
20:
21: /**
22: * Constructs an instance of the exception with the provided message.
23: * @param msg A message that describes the exception.
24: */
25: public TransactionNotInProgressException(String msg) {
26: super(msg);
27: }
28: }
|