KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > jdo > JDODataStoreException


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  * JDODataStoreException.java
19  *
20  */

21
22 package javax.jdo;
23
24 /** This class represents data store exceptions that can be retried.
25  *
26  * @version 1.0
27  */

28 public class JDODataStoreException extends JDOCanRetryException {
29
30   /**
31    * Constructs a new <code>JDODataStoreException</code> without a detail message.
32    */

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

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

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

61   public JDODataStoreException(String JavaDoc msg, Throwable JavaDoc nested) {
62     super(msg, nested);
63   }
64
65   /** Constructs a new <code>JDODataStoreException</code> with the specified detail message
66    * and failed object.
67    * @param msg the detail message.
68    * @param failed the failed object.
69    */

70   public JDODataStoreException(String JavaDoc msg, Object JavaDoc failed) {
71     super(msg, failed);
72   }
73  
74   /** Constructs a new <code>JDODataStoreException</code> with the specified detail message,
75    * nested <code>Throwable</code>s, and failed object.
76    * @param msg the detail message.
77    * @param nested the nested <code>Throwable[]</code>.
78    * @param failed the failed object.
79    */

80   public JDODataStoreException(String JavaDoc msg, Throwable JavaDoc[] nested, Object JavaDoc failed) {
81     super(msg, nested, failed);
82   }
83
84   /** Constructs a new <code>JDODataStoreException</code> with the specified detail message,
85    * nested <code>Throwable</code>s, and failed object.
86    * @param msg the detail message.
87    * @param nested the nested <code>Throwable</code>.
88    * @param failed the failed object.
89    */

90   public JDODataStoreException(String JavaDoc msg, Throwable JavaDoc nested, Object JavaDoc failed) {
91     super(msg, nested, failed);
92   }
93
94 }
95
96
Popular Tags