} catch (ExistingShiftException ex) {
} catch (ExistingServiceException ex) {
    public ActionForward editShift(ActionMapping mapping, ActionForm form, HttpServletRequest request,            HttpServletResponse response) throws Exception {        IUserView userView = SessionUtils.getUserView(request);        DynaActionForm editShiftForm = (DynaActionForm) form;        InfoShift infoShiftOld = (InfoShift) request.getAttribute(SessionConstants.SHIFT);        InfoShift infoShiftNew = new InfoShift();        infoShiftNew.setIdInternal(infoShiftOld.getIdInternal());        infoShiftNew.setAvailabilityFinal(infoShiftOld.getAvailabilityFinal());        InfoExecutionCourse infoExecutionCourseNew = RequestUtils.getExecutionCourseBySigla(request,                (String) editShiftForm.get("courseInitials"));        infoShiftNew.setInfoDisciplinaExecucao(infoExecutionCourseNew);        infoShiftNew.setInfoLessons(infoShiftOld.getInfoLessons());        infoShiftNew.setLotacao((Integer) editShiftForm.get("lotacao"));        infoShiftNew.setNome((String) editShiftForm.get("nome"));        infoShiftNew.setTipo(new TipoAula((Integer) editShiftForm.get("tipoAula")));        Object argsCriarTurno[] = { infoShiftOld, infoShiftNew };        try {            infoShiftNew = (InfoShift) ServiceUtils.executeService(userView, "EditarTurno",                    argsCriarTurno);        } catch (ExistingShiftException ex) {            throw new ExistingActionException("O Turno", ex);        } catch (InvalidFinalAvailabilityException e0) {            ActionErrors actionErrors = new ActionErrors();            actionErrors.add("errors.exception.invalid.finalAvailability", new ActionError(                    "errors.exception.invalid.finalAvailability"));            saveErrors(request, actionErrors);            return mapping.getInputForward();        } catch (InvalidNewShiftType e1) {            ActionErrors actionErrors = new ActionErrors();            actionErrors.add("errors.exception.invalid.newShiftType", new ActionError(                    "errors.exception.invalid.newShiftType"));            saveErrors(request, actionErrors);            return mapping.getInputForward();        } catch (InvalidNewShiftExecutionCourse e2) {            ActionErrors actionErrors = new ActionErrors();            actionErrors.add("errors.exception.invalid.newExecutionCourse", new ActionError(                    "errors.exception.invalid.newExecutionCourse"));            saveErrors(request, actionErrors);            return mapping.getInputForward();        } catch (InvalidNewShiftCapacity e3) {            ActionErrors actionErrors = new ActionErrors();            actionErrors.add("errors.exception.invalid.newCapacity", new ActionError(                    "errors.exception.invalid.newCapacity"));            saveErrors(request, actionErrors);            return mapping.getInputForward();        }        request.setAttribute(SessionConstants.EXECUTION_COURSE, infoExecutionCourseNew);        //request.setAttribute(SessionConstants.SHIFT, infoShiftNew);        ContextUtils.setShiftContext(request);        return prepareEditShift(mapping, form, request, response);    }