throw new WorkflowException(e);
return false;
    public boolean canModifyEntryState(long id, int newState) throws WorkflowException {        try {            return wf.canModifyEntryState(id, newState);        } catch (RemoteException e) {            log.error("Error checking modifying entry state", e);            throw new WorkflowException(e);        }    }