001 package org.odmg;
002
003
004
005 /**
006
007 * This exception is thrown when a call has been made to a method that
008
009 * should not be called when a transaction is in progress.
010
011 * @author David Jordan (as Java Editor of the Object Data Management Group)
012
013 * @version ODMG 3.0
014
015 */
016
017
018
019 public class TransactionInProgressException extends ODMGRuntimeException
020
021 {
022
023 /**
024
025 * Constructs an instance of the exception.
026
027 */
028
029 public TransactionInProgressException()
030
031 {
032
033 super();
034
035 }
036
037
038
039 /**
040
041 * Constructs an instance of the exception with the provided message.
042
043 * @param msg The message explaining the exception.
044
045 */
046
047 public TransactionInProgressException(String msg)
048
049 {
050
051 super(msg);
052
053 }
054
055 }
056