SpaceResponsibility spaceResponsibility = getSpaceResponsibility(request); Object[] args = { spaceResponsibility }; try { ServiceUtils.executeService(getUserView(request), "DeleteSpaceResponsibility", args); } catch (DomainException domainException) { saveActionMessageOnRequest(request, domainException.getKey(), domainException.getArgs()); }
SpaceResponsibility spaceResponsibility = getSpaceResponsibility(request); Object[] args = { spaceResponsibility }; try { ServiceUtils.executeService(getUserView(request), "DeleteSpaceResponsibility", args); } catch (DomainException domainException) { saveMessages(request, domainException); }
    public ActionForward deleteSpaceResponsibility(ActionMapping mapping, ActionForm form,            HttpServletRequest request, HttpServletResponse response) throws FenixFilterException,            FenixServiceException, ExcepcaoPersistencia {        SpaceResponsibility spaceResponsibility = getSpaceResponsibility(request);        Object[] args = { spaceResponsibility };        try {            ServiceUtils.executeService(getUserView(request), "DeleteSpaceResponsibility", args);        } catch (DomainException domainException) {            saveActionMessageOnRequest(request, domainException.getKey(), domainException.getArgs());        }        readAndSetAllAttributes(request);        return mapping.findForward("showSpaceResponsibility");    }