} catch (FenixServiceException ex) { throw new FenixActionException("Problemas a criar a sala.", ex);
    public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request,            HttpServletResponse response) throws Exception {        DynaActionForm criarSalaForm = (DynaActionForm) form;        HttpSession sessao = request.getSession(false);        if (sessao != null) {            IUserView userView = (IUserView) sessao.getAttribute(SessionConstants.U_VIEW);            Object argsCriarSala[] = { new InfoRoom((String) criarSalaForm.get("name"),                    (String) criarSalaForm.get("building"), new Integer((String) criarSalaForm                            .get("floor")),                    new TipoSala(new Integer((String) criarSalaForm.get("type"))), new Integer(                            (String) criarSalaForm.get("capacityNormal")), new Integer(                            (String) criarSalaForm.get("capacityExame"))) };            try {                ServiceManagerServiceFactory.executeService(userView, "CriarSala", argsCriarSala);            } catch (ExistingRoomServiceException e) {                throw new ExistingActionException("A Sala", e);            } catch (FenixServiceException ex) {                throw new FenixActionException("Problemas a criar a sala.", ex);            }            return mapping.findForward("Sucesso");        }        throw new Exception();    }