01: package process;
02:
03: /**
04: * Describe class <code>StateNotReachedException</code> here.
05: *
06: * @author <a href="mailto:weidauer@danet.de">Christian Weidauer</a>
07: * @version 1.0
08: */
09:
10: public class StateNotReachedException extends Exception {
11: /**
12: * Creates a new <code>StateNotReachedException</code> instance.
13: *
14: * @param eo a <code>SmartWfExecutionObject</code> value
15: * @param stateToCheck a <code>String</code> value
16: * @param waitedMS an <code>int</code> value
17: */
18: public StateNotReachedException(SmartWfExecutionObject eo,
19: String stateToCheck, String msg) {
20: super (eo.name() + "[key=" + eo.key() + ", state=" + eo.state()
21: + "] did not reach state " + stateToCheck + ": " + msg);
22: }
23:
24: }
|