KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ojb > otm > core > TransactionException


1 package org.apache.ojb.otm.core;
2
3 /* Copyright 2003-2005 The Apache Software Foundation
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */

17
18 /**
19  *
20  * Exception denoting an exception condition in the transaction handling within OTMKit.
21  *
22  * @author <a HREF="mailto:rraghuram@hotmail.com">Raghu Rajah</a>
23  *
24  */

25 public class TransactionException extends OTMGenericException
26 {
27
28     /**
29      * Constructor for TransactionException.
30      */

31     public TransactionException()
32     {
33         super();
34     }
35
36     /**
37      * Constructor for TransactionException.
38      * @param msg
39      */

40     public TransactionException(String JavaDoc msg)
41     {
42         super(msg);
43     }
44
45     /**
46      * Constructor for TransactionException.
47      * @param cause
48      */

49     public TransactionException(Throwable JavaDoc cause)
50     {
51         super(cause);
52     }
53
54     /**
55      * Constructor for TransactionException.
56      * @param msg
57      * @param cause
58      */

59     public TransactionException(String JavaDoc msg, Throwable JavaDoc cause)
60     {
61         super(msg, cause);
62     }
63
64 }
65
Popular Tags