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 optimistic verification failures. The nested
26 * exception array contains an exception for each instance that failed
27 * the optimistic verification.
28 *
29 * @since 1.0.1
30 * @version 1.0.1
31 */
32 public class JDOOptimisticVerificationException extends JDOFatalDataStoreException {
33
34 /**
35 * Constructs a new <code>JDOOptimisticVerificationException</code> without a
36 * detail message.
37 */
38 public JDOOptimisticVerificationException() {
39 }
40
41
42 /**
43 * Constructs a new <code>JDOOptimisticVerificationException</code> with the
44 * specified detail message.
45 * @param msg the detail message.
46 */
47 public JDOOptimisticVerificationException(String msg) {
48 super(msg);
49 }
50
51 /** Constructs a new <code>JDOOptimisticVerificationException</code> with the
52 * specified detail message and failed object.
53 * @param msg the detail message.
54 * @param failed the failed object.
55 */
56 public JDOOptimisticVerificationException(String msg, Object failed) {
57 super(msg, failed);
58 }
59
60 /**
61 * Constructs a new <code>JDOOptimisticVerificationException</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 */
66 public JDOOptimisticVerificationException(String msg, Throwable[] nested) {
67 super(msg, nested);
68 }
69
70 /**
71 * Constructs a new <code>JDOOptimisticVerificationException</code> with the specified
72 * detail message, nested <code>Throwable</code>s, and failed object.
73 * @param msg the detail message.
74 * @param nested the nested <code>Throwable[]</code>.
75 * @param failed the failed object.
76 */
77 public JDOOptimisticVerificationException(String msg, Throwable[] nested, Object failed) {
78 super(msg, nested, failed);
79 }
80
81 /**
82 * Constructs a new <code>JDOOptimisticVerificationException</code> with the specified
83 * detail message, nested <code>Throwable</code>s, and failed object.
84 * @param msg the detail message.
85 * @param nested the nested <code>Throwable</code>.
86 * @param failed the failed object.
87 */
88 public JDOOptimisticVerificationException(String msg, Throwable nested, Object failed) {
89 super(msg, nested, failed);
90 }
91
92 }
93