1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.jdo.model;
18
19 /***
20 * This exception indicates a problem during model update.
21 *
22 * @author Michael Bouschen
23 * @since JDO 1.0.1
24 */
25 public class ModelVetoException
26 extends ModelException
27 {
28 /***
29 * Creates new <code>ModelVetoException</code> without detail message.
30 */
31 public ModelVetoException()
32 {
33 }
34
35 /***
36 * Constructs a <code>ModelVetoException</code> with the specified
37 * detail message.
38 * @param msg the detail message.
39 */
40 public ModelVetoException(String msg)
41 {
42 super(msg);
43 }
44
45 /***
46 * Constructs a new <code>ModelVetoException</code> with the specified
47 * cause.
48 * @param cause the cause <code>Throwable</code>.
49 */
50 public ModelVetoException(Throwable cause)
51 {
52 super("", cause);
53 }
54
55 /***
56 * Constructs a new <code>ModelVetoException</code> with the specified
57 * detail message and cause.
58 * @param msg the detail message.
59 * @param cause the cause <code>Throwable</code>.
60 */
61 public ModelVetoException(String msg, Throwable cause)
62 {
63 super(msg, cause);
64 }
65
66 }