1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.commons.scxml.model;
18
19 /***
20 * Exception that is thrown when the SCXML model supplied to the
21 * executor has a fatal flaw that prevents the executor from
22 * further interpreting the the model.
23 *
24 */
25 public class ModelException extends Exception {
26
27 /***
28 * Serial version UID.
29 */
30 private static final long serialVersionUID = 1L;
31
32 /***
33 * @see java.lang.Exception#Exception()
34 */
35 public ModelException() {
36 super();
37 }
38
39 /***
40 * @see java.lang.Exception#Exception(java.lang.String)
41 * @param message
42 */
43 public ModelException(final String message) {
44 super(message);
45 }
46
47 /***
48 * @see java.lang.Exception#Exception(java.lang.Throwable)
49 * @param cause
50 */
51 public ModelException(final Throwable cause) {
52 super(cause);
53 }
54
55 /***
56 * @see java.lang.Exception#Exception(String, java.lang.Throwable)
57 * @param message
58 * @param cause
59 */
60 public ModelException(final String message, final Throwable cause) {
61 super(message, cause);
62 }
63
64 }
65