1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 package javax.jdo;
24
25 /** This class represents exceptions caused by the user accessing
26 * an object that does not exist in the datastore.
27 *
28 * @since 1.0.1
29 * @version 1.0.1
30 */
31 public class JDOObjectNotFoundException extends JDODataStoreException {
32
33 /**
34 * Constructs a new <code>JDOObjectNotFoundException</code>
35 * without a detail message.
36 */
37 public JDOObjectNotFoundException() {
38 }
39
40
41 /**
42 * Constructs a new <code>JDOObjectNotFoundException</code>
43 * with the specified detail message.
44 * @param msg the detail message.
45 */
46 public JDOObjectNotFoundException(String msg) {
47 super(msg);
48 }
49
50 /** Constructs a new <code>JDOObjectNotFoundException</code> with the specified detail message
51 * and failed object.
52 * @param msg the detail message.
53 * @param failed the failed object.
54 */
55 public JDOObjectNotFoundException(String msg, Object failed) {
56 super(msg, failed);
57 }
58
59 /**
60 * Constructs a new <code>JDOObjectNotFoundException</code> with the
61 * specified detail message and nested <code>Throwable</code>s.
62 * @param msg the detail message.
63 * @param nested the nested <code>Throwable</code>.
64 */
65 public JDOObjectNotFoundException(String msg, Throwable nested) {
66 super(msg, nested);
67 }
68
69 /**
70 * Constructs a new <code>JDOObjectNotFoundException</code> with the
71 * specified detail message and nested <code>Throwable</code>s.
72 * @param msg the detail message.
73 * @param nested the nested <code>Throwable[]</code>.
74 */
75 public JDOObjectNotFoundException(String msg, Throwable[] nested) {
76 super(msg, nested);
77 }
78
79
80 /**
81 * Constructs a new <code>JDOObjectNotFoundException</code> with the specified
82 * detail message, nested <code>Throwable</code>s, and failed object.
83 * @param msg the detail message.
84 * @param nested the nested <code>Throwable[]</code>.
85 * @param failed the failed object.
86 */
87 public JDOObjectNotFoundException(String msg, Throwable[] nested, Object failed) {
88 super(msg, nested, failed);
89 }
90
91 /**
92 * Constructs a new <code>JDOFatalInternalException</code> with the specified
93 * detail message, nested <code>Throwable</code>s, and failed object.
94 * @param msg the detail message.
95 * @param nested the nested <code>Throwable</code>.
96 * @param failed the failed object.
97 */
98 public JDOObjectNotFoundException(String msg, Throwable nested, Object failed) {
99 super(msg, nested, failed);
100 }
101 }
102