ActionMessages actionMessages = new ActionMessages(); actionMessages.add(e.getKey(), new ActionMessage(e.getKey(), e.getArgs())); saveMessages(request, actionMessages);
saveMessages(request, e);
    public ActionForward executeFactoryMethod(ActionMapping mapping, ActionForm form,	    HttpServletRequest request, HttpServletResponse response) throws Exception {	SpaceInformation spaceInformation = null;	try {	    spaceInformation = executeSpaceFactoryMethod(request);	} catch (DomainException e) {	    ActionMessages actionMessages = new ActionMessages();	    actionMessages.add(e.getKey(), new ActionMessage(e.getKey(), e.getArgs()));	    saveMessages(request, actionMessages);	    spaceInformation = getSpaceInformationFromParameter(request);	}	return (spaceInformation == null) ? viewSpaces(mapping, form, request, response) : manageSpace(		mapping, request, spaceInformation);    }