1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.commons.scxml.semantics;
18
19 /***
20 * Errors reported by the default SCXMLSemantics implementation.
21 *
22 */
23 public class ErrorConstants {
24
25 /***
26 * Missing initial state for a composite state or for the scxml root.
27 *
28 * @see org.apache.commons.scxml.model.SCXML#getInitialState()
29 * @see org.apache.commons.scxml.model.State#getInitial()
30 */
31 public static final String NO_INITIAL = "NO_INITIAL";
32
33 /***
34 * An initial state for a composite state whose Transition does not.
35 * Map to a descendant of the composite state.
36 *
37 */
38 public static final String ILLEGAL_INITIAL = "ILLEGAL_INITIAL";
39
40 /***
41 * Unknown action - unsupported executable content. List of supported.
42 * actions: assign, cancel, elseif, else, if, log, send, var
43 */
44 public static final String UNKNOWN_ACTION = "UNKNOWN_ACTION";
45
46 /***
47 * Illegal state machine configuration.
48 * Either a parallel exists which does not have all its AND sub-states
49 * active or there are multiple enabled OR states on the same level.
50 */
51 public static final String ILLEGAL_CONFIG = "ILLEGAL_CONFIG";
52
53 /***
54 * Non-deterministic situation has occured - there are more than
55 * one enabled transitions in conflict.
56 */
57 public static final String NON_DETERMINISTIC = "NON_DETERMINISTIC";
58
59 /***
60 * A variable referred to by assign name attribute is undefined.
61 */
62 public static final String UNDEFINED_VARIABLE = "UNDEFINED_VARIABLE";
63
64 /***
65 * An expression language error.
66 */
67 public static final String EXPRESSION_ERROR = "EXPRESSION_ERROR";
68
69
70
71 /***
72 * Discourage instantiation.
73 */
74 private ErrorConstants() {
75 super();
76 }
77
78 }