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 /*** An instance of this class is thrown when attempting to create an object id
25 * when the object id constructor parameter is null. This might occur when
26 * creating an object id instance from a transient instance where an identity
27 * field is null.
28 *
29 * @since 2.0
30 * @version 2.0
31 */
32 public class JDONullIdentityException extends JDOUserException {
33
34 /***
35 * Constructs a new <code>JDONullIdentityException</code> without a detail message.
36 */
37 public JDONullIdentityException() {
38 }
39
40 /***
41 * Constructs a new <code>JDONullIdentityException</code> with the specified detail message.
42 * @param msg the detail message.
43 */
44 public JDONullIdentityException(String msg) {
45 super(msg);
46 }
47
48 /*** Constructs a new <code>JDONullIdentityException</code> with the specified detail message
49 * and failed object.
50 * @param msg the detail message.
51 * @param failed the failed object.
52 */
53 public JDONullIdentityException(String msg, Object failed) {
54 super(msg, failed);
55 }
56
57 /***
58 * Constructs a new <code>JDONullIdentityException</code> with the specified
59 * detail message and nested <code>Throwable</code>s.
60 * @param msg the detail message.
61 * @param nested the nested <code>Throwable[]</code>.
62 */
63 public JDONullIdentityException(String msg, Throwable[] nested) {
64 super(msg, nested);
65 }
66
67 /***
68 * Constructs a new <code>JDONullIdentityException</code> with the specified detail message
69 * and nested <code>Throwable</code>s.
70 * @param msg the detail message.
71 * @param nested the nested <code>Throwable</code>.
72 */
73 public JDONullIdentityException(String msg, Throwable nested) {
74 super(msg, nested);
75 }
76
77 }