throw new WorkflowException(e);
return false;
    public boolean canInitialize(String workflowName, int initialState) throws WorkflowException {        try {            return wf.canInitialize(workflowName, initialState);        } catch (RemoteException e) {            log.error("Error checking canInitialize", e);            throw new WorkflowException(e);        }    }