KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * Copyright 2004 (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: TransactionCompletionException.java,v 1.1 2004/01/18 03:01:05 jackknifebarber Exp $
9  */

10
11 package com.triactive.jdo;
12
13 import javax.jdo.JDOUserException;
14
15
16 /**
17  * An <tt>TransactionCompletionException</tt> is thrown if a commit or rollback
18  * is already in progress and an operation is attempted that cannot be performed
19  * during transaction completion.
20  *
21  * @author <a HREF="mailto:mmartin5@austin.rr.com">Mike Martin</a>
22  * @version $Revision: 1.1 $
23  *
24  * @see NonmanagedTransaction
25  */

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

32
33     public TransactionCompletionException()
34     {
35         super("Transaction completion is in-progress");
36     }
37 }
38
Popular Tags