WMUnsupportedOperationException.java :  » Workflow-Engines » shark » org » enhydra » shark » api » client » wfmc » wapi » Java Open Source

Java Open Source » Workflow Engines » shark 
shark » org » enhydra » shark » api » client » wfmc » wapi » WMUnsupportedOperationException.java
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 + "'"
                + ']';
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.