001 package org.odmg; 002 003 004 005 /** 006 007 * This exception is thrown when attempting to perform an operation that 008 009 * must be performed when there is a transaction is in progress, but no 010 011 * such transaction is in progress. 012 013 * @author David Jordan (as Java Editor of the Object Data Management Group) 014 015 * @version ODMG 3.0 016 017 * @see ODMGRuntimeException 018 019 */ 020 021 022 023 public class TransactionNotInProgressException extends ODMGRuntimeException 024 025 { 026 027 /** 028 029 * Constructs an instance of the exception. 030 031 */ 032 033 public TransactionNotInProgressException() 034 035 { 036 037 super(); 038 039 } 040 041 042 043 /** 044 045 * Constructs an instance of the exception with the provided message. 046 047 * @param msg A message that describes the exception. 048 049 */ 050 051 public TransactionNotInProgressException(String msg) 052 053 { 054 055 super(msg); 056 057 } 058 059 } 060