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