public int getEntryState(long id) throws WorkflowException {
public int getEntryState(long id) {
    public int getEntryState(long id) throws WorkflowException {        try {            return wf.getEntryState(id);        } catch (RemoteException e) {            log.error("Error getting entry state", e);            throw new WorkflowException(e);        }    }