KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > jdo > JDOUserCallbackException


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

16
17 /*
18  * JDOUserCallbackException.java
19  *
20  */

21
22 package javax.jdo;
23
24 /** This class represents exceptions caused by exceptions thrown
25  * during execution of callbacks or listeners.
26  *
27  * @version 2.0
28  */

29 public class JDOUserCallbackException extends JDOUserException {
30
31   /**
32    * Constructs a new <code>JDOUserCallbackException</code>
33    * without a detail message.
34    */

35   public JDOUserCallbackException() {
36   }
37
38   /**
39    * Constructs a new <code>JDOUserCallbackException</code>
40    * with the specified detail message.
41    * @param msg the detail message.
42    */

43   public JDOUserCallbackException(String JavaDoc msg) {
44     super(msg);
45   }
46
47   /**
48    * Constructs a new <code>JDOUserCallbackException</code> with the
49    * specified detail message and nested <code>Throwable</code>s.
50    * @param msg the detail message.
51    * @param nested the nested <code>Throwable[]</code>.
52    */

53   public JDOUserCallbackException(String JavaDoc msg, Throwable JavaDoc[] nested) {
54     super(msg, nested);
55   }
56
57   /**
58    * Constructs a new <code>JDOUserCallbackException</code> with the
59    * specified detail message and nested <code>Throwable</code>s.
60    * @param msg the detail message.
61    * @param nested the nested <code>Throwable</code>.
62    */

63   public JDOUserCallbackException(String JavaDoc msg, Throwable JavaDoc nested) {
64     super(msg, nested);
65   }
66 }
67
68
Popular Tags