1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 package javax.jdo;
23
24 /*** This class represents exceptions caused by the user accessing
25 * an object that does not exist in the datastore.
26 *
27 * @since 1.0.1
28 * @version 1.0.1
29 */
30 public class JDOObjectNotFoundException extends JDODataStoreException {
31
32 /***
33 * Constructs a new <code>JDOObjectNotFoundException</code>
34 * without a detail message.
35 */
36 public JDOObjectNotFoundException() {
37 }
38
39
40 /***
41 * Constructs a new <code>JDOObjectNotFoundException</code>
42 * with the specified detail message.
43 * @param msg the detail message.
44 */
45 public JDOObjectNotFoundException(String msg) {
46 super(msg);
47 }
48
49 /*** Constructs a new <code>JDOObjectNotFoundException</code> with the specified detail message
50 * and failed object.
51 * @param msg the detail message.
52 * @param failed the failed object.
53 */
54 public JDOObjectNotFoundException(String msg, Object failed) {
55 super(msg, failed);
56 }
57
58 /***
59 * Constructs a new <code>JDOObjectNotFoundException</code> with the
60 * specified detail message and nested <code>Throwable</code>s.
61 * @param msg the detail message.
62 * @param nested the nested <code>Throwable[]</code>.
63 */
64 public JDOObjectNotFoundException(String msg, Throwable[] nested) {
65 super(msg, nested);
66 }
67
68 }
69