01: /*
02: * Copyright 2002 (C) TJDO.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the TJDO License version 1.0.
06: * See the terms of the TJDO License in the documentation provided with this software.
07: *
08: * $Id: TransactionActiveException.java,v 1.3 2002/11/08 05:06:22 jackknifebarber Exp $
09: */
10:
11: package com.triactive.jdo;
12:
13: import javax.jdo.JDOUserException;
14:
15: /**
16: * An <tt>TransactionActiveException</tt> is thrown if a transaction is already
17: * active and an operation is performed that requires that a transaction not be
18: * active (such as beginning a transaction).
19: *
20: * @author <a href="mailto:mmartin5@austin.rr.com">Mike Martin</a>
21: * @version $Revision: 1.3 $
22: *
23: * @see NonmanagedTransaction
24: */
25:
26: public class TransactionActiveException extends JDOUserException {
27: /**
28: * Constructs a transaction active exception.
29: */
30:
31: public TransactionActiveException() {
32: super ("Transaction is active");
33: }
34: }
|