if (e.getMessage() == null && e instanceof NotAuthorizedException) {
if (e.getMessage() == null && e instanceof NotAuthorizedFilterException) {
    public ActionForward editSummary(ActionMapping mapping, ActionForm form, HttpServletRequest request,            HttpServletResponse response) throws FenixFilterException {        try {            HttpSession session = request.getSession(false);            IUserView userView = (IUserView) session.getAttribute(SessionConstants.U_VIEW);            String summaryIdString = request.getParameter("summaryCode");            Integer summaryId = new Integer(summaryIdString);            Integer executionCourseId = getObjectCode(request);            request.setAttribute("objectCode", executionCourseId);            InfoSummary infoSummaryToEdit = buildSummaryToInsert(request);            infoSummaryToEdit.setIdInternal(summaryId);            Object[] args = { executionCourseId, infoSummaryToEdit };            ServiceUtils.executeService(userView, "EditSummaryDepartment", args);        } catch (Exception e) {            e.printStackTrace();            ActionErrors actionErrors = new ActionErrors();            if (e.getMessage() == null && e instanceof NotAuthorizedException) {                actionErrors.add("error.editSummary", new ActionError("error.summary.not.authorized"));            } else {                actionErrors.add("error.editSummary", new ActionError(e.getMessage()));            }            actionErrors.add("error.editSummary", new ActionError("error.summary.impossible.edit"));            saveErrors(request, actionErrors);            String text = request.getParameter("summaryText");            request.setAttribute("summaryTextFlag", text);            return prepareEditSummary(mapping, form, request, response);// mudei        }        return showSummaries(mapping, form, request, response);    }