KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > triactive > jdo > TransactionActiveException


1 /*
2  * Copyright 2002 (C) TJDO.
3  * All rights reserved.
4  *
5  * This software is distributed under the terms of the TJDO License version 1.0.
6  * See the terms of the TJDO License in the documentation provided with this software.
7  *
8  * $Id: TransactionActiveException.java,v 1.3 2002/11/08 05:06:22 jackknifebarber Exp $
9  */

10
11 package com.triactive.jdo;
12
13 import javax.jdo.JDOUserException;
14
15
16 /**
17  * An <tt>TransactionActiveException</tt> is thrown if a transaction is already
18  * active and an operation is performed that requires that a transaction not be
19  * active (such as beginning a transaction).
20  *
21  * @author <a HREF="mailto:mmartin5@austin.rr.com">Mike Martin</a>
22  * @version $Revision: 1.3 $
23  *
24  * @see NonmanagedTransaction
25  */

26
27 public class TransactionActiveException extends JDOUserException
28 {
29     /**
30      * Constructs a transaction active exception.
31      */

32
33     public TransactionActiveException()
34     {
35         super("Transaction is active");
36     }
37 }
38
Popular Tags