ServiceUtils.executeService(userView, "RemoveProfessorshipByDepartment", arguments);
try { ServiceUtils.executeService(userView, "RemoveProfessorshipByDepartment", arguments); } catch (DomainException e) { ActionErrors errors = new ActionErrors(); errors.add("error", new ActionError(e.getMessage())); saveErrors(request, errors); }
    public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request,            HttpServletResponse response) throws Exception {        DynaActionForm teacherExecutionCourseForm = (DynaActionForm) form;        Integer teacherId = Integer.valueOf((String) teacherExecutionCourseForm.get("teacherId"));        Integer executionCourseId = Integer.valueOf((String) teacherExecutionCourseForm                .get("executionCourseId"));        IUserView userView = SessionUtils.getUserView(request);        Object[] arguments = { executionCourseId, teacherId };        ServiceUtils.executeService(userView, "RemoveProfessorshipByDepartment", arguments);        return mapping.findForward("successfull-delete");    }