This content has been marked as final.
Show 1 reply
-
1. Re: Exception handling. Why AjaxViewRoot not rethrow excepti
nbelaevski Jan 26, 2009 4:06 AM (in response to man4j)Hello,
Here is excerpt from UIViewRoot, Sun RI JSF 1.2_11:while (!eventsForPhaseId.isEmpty()) { FacesEvent event = eventsForPhaseId.get(0); UIComponent source = event.getComponent(); try { source.broadcast(event); } catch (AbortProcessingException e) { if (LOGGER.isLoggable(Level.SEVERE)) { UIComponent component = event.getComponent(); String id = ""; if (component != null) { id = component.getId(); if (id == null) { id = component.getClientId(context); } } LOGGER.log(Level.SEVERE, "error.component.abortprocessing_thrown", new Object[]{event.getClass().getName(), phaseId.toString(), id}); LOGGER.log(Level.SEVERE, e.toString(), e); } } eventsForPhaseId.remove(0); // Stay at current position }
no exception is available to servlet. Can you please point to JSF specification part stating that this exception should be available?