KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > jdo > JDODetachedFieldAccessException


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

21
22 package javax.jdo;
23
24 /** This class represents exceptions caused by access of an unloaded field while
25  * the instance is detached.
26  *
27  * @version 2.0
28  * @since 2.0
29  */

30 public class JDODetachedFieldAccessException extends JDOUserException {
31
32   /**
33    * Constructs a new <code>JDODetachedFieldAccessException</code> without a detail message.
34    * @since 2.0
35    */

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

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

56   public JDODetachedFieldAccessException(String JavaDoc msg, Throwable JavaDoc[] nested) {
57     super(msg, nested);
58   }
59
60   /**
61    * Constructs a new <code>JDODetachedFieldAccessException</code> with the
62    * specified detail message and nested <code>Throwable</code>s.
63    * @param msg the detail message.
64    * @param nested the nested <code>Throwable</code>.
65    * @since 2.0
66    */

67   public JDODetachedFieldAccessException(String JavaDoc msg, Throwable JavaDoc nested) {
68     super(msg, nested);
69   }
70 }
71
72
Popular Tags