KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > jdo > JDOFatalDataStoreException


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

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

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

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

41   public JDOFatalDataStoreException(String JavaDoc msg) {
42     super(msg);
43   }
44
45   /** Constructs a new <code>JDOFatalDataStoreException</code> with the specified detail message
46    * and failed object.
47    * @param msg the detail message.
48    * @param failed the failed object.
49    */

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

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

70   public JDOFatalDataStoreException(String JavaDoc msg, Throwable JavaDoc nested) {
71     super(msg, nested);
72   }
73 }
74
75
Popular Tags