| Home >> All >> org >> [ odmg Javadoc ] |
Source code: org/odmg/TransactionInProgressException.java
1 package org.odmg; 2 3 /** 4 * This exception is thrown when a call has been made to a method that 5 * should not be called when a transaction is in progress. 6 * @author David Jordan (as Java Editor of the Object Data Management Group) 7 * @version ODMG 3.0 8 */ 9 10 public class TransactionInProgressException extends ODMGRuntimeException 11 { 12 /** 13 * Constructs an instance of the exception. 14 */ 15 public TransactionInProgressException() 16 { 17 super(); 18 } 19 20 /** 21 * Constructs an instance of the exception with the provided message. 22 * @param msg The message explaining the exception. 23 */ 24 public TransactionInProgressException(String msg) 25 { 26 super(msg); 27 } 28 }