01: package org.wfmc.wapi;
02:
03: /**
04: * @author Adrian Price
05: */
06: public class WMUnsupportedOperationException extends
07: WMWorkflowException {
08: private static final long serialVersionUID = -5759667029599116053L;
09: private final String operation;
10:
11: public WMUnsupportedOperationException(String operation) {
12: super (new WMError(WMError.WM_UNSUPPORTED));
13: this .operation = operation;
14: }
15:
16: public String getOperation() {
17: return operation;
18: }
19:
20: public String toString() {
21: return getClass().getName() + '@'
22: + System.identityHashCode(this ) + "[operation='"
23: + operation + '\'' + ']';
24: }
25: }
|