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