package org.enhydra.shark.api.client.wfmc.wapi;
/**
* @author Adrian Price
*/
public class WMUnsupportedOperationException extends WMWorkflowException {
static final long serialVersionUID = -5759667029599116053L;
private String operation;
public WMUnsupportedOperationException(String operation) {
super(new WMError(WMError.WM_UNSUPPORTED));
this.operation = operation;
}
public String getOperation() {
return operation;
}
public String toString() {
return getClass().getName() + '@' + System.identityHashCode(this)
+ "[operation='" + operation + "'"
+ ']';
}
}
|