public Throwable getCause() { return super.getCause(); }
protected Validator createValidator() throws JspException { try { return createValidator(validatorId, binding, FacesContext.getCurrentInstance()); } catch (FacesException fe) { throw new JspException(fe.getCause()); } }
@Override protected Validator createValidator() throws JspException { try { return createValidator(validatorId, binding, FacesContext.getCurrentInstance()); } catch (FacesException fe) { throw new JspException(fe.getCause()); } }
protected Converter createConverter() throws JspException { try { return createConverter(converterId, binding, FacesContext.getCurrentInstance()); } catch (FacesException fe) { throw new JspException(fe.getCause()); } }
@Override protected Converter createConverter() throws JspException { try { return createConverter(converterId, binding, FacesContext.getCurrentInstance()); } catch (FacesException fe) { throw new JspException(fe.getCause()); } }
protected Validator createValidator() throws JspException { try { return createValidator(validatorId, binding, FacesContext.getCurrentInstance()); } catch (FacesException fe) { throw new JspException(fe.getCause()); } }
protected Converter createConverter() throws JspException { try { return createConverter(converterId, binding, FacesContext.getCurrentInstance()); } catch (FacesException fe) { throw new JspException(fe.getCause()); } }
@Override protected Converter createConverter() throws JspException { try { return createConverter(converterId, binding, FacesContext.getCurrentInstance()); } catch (FacesException fe) { throw new JspException(fe.getCause()); } }
@Override protected Validator createValidator() throws JspException { try { return createValidator(validatorId, binding, FacesContext.getCurrentInstance()); } catch (FacesException fe) { throw new JspException(fe.getCause()); } }
private FacesContextFactory acquireFacesContextFactory() throws UnavailableException { try { return (FacesContextFactory) FactoryFinder.getFactory(FACES_CONTEXT_FACTORY); } catch (FacesException e) { String msg = LOGGER.getResourceBundle().getString("severe.webapp.facesservlet.init_failed"); LOGGER.log(SEVERE, msg, e.getCause() != null ? e.getCause() : e); throw new UnavailableException(msg); } }
private FacesContextFactory acquireFacesContextFactory() throws UnavailableException { try { return (FacesContextFactory) FactoryFinder.getFactory(FACES_CONTEXT_FACTORY); } catch (FacesException e) { String msg = LOGGER.getResourceBundle().getString("severe.webapp.facesservlet.init_failed"); LOGGER.log(SEVERE, msg, e.getCause() != null ? e.getCause() : e); throw new UnavailableException(msg); } }
private FacesContextFactory acquireFacesContextFactory() throws UnavailableException { try { return (FacesContextFactory) FactoryFinder.getFactory(FACES_CONTEXT_FACTORY); } catch (FacesException e) { String msg = LOGGER.getResourceBundle().getString("severe.webapp.facesservlet.init_failed"); LOGGER.log(SEVERE, msg, e.getCause() != null ? e.getCause() : e); throw new UnavailableException(msg); } }
private FacesContextFactory acquireFacesContextFactory() throws UnavailableException { try { return (FacesContextFactory) FactoryFinder.getFactory(FACES_CONTEXT_FACTORY); } catch (FacesException e) { String msg = LOGGER.getResourceBundle().getString("severe.webapp.facesservlet.init_failed"); LOGGER.log(SEVERE, msg, e.getCause() != null ? e.getCause() : e); throw new UnavailableException(msg); } }
private void initHttpMethodValidityVerificationWithCatch() throws ServletException { try { initHttpMethodValidityVerification(); } catch (FacesException e) { Throwable rootCause = e.getCause(); if (rootCause == null) { throw e; } else { throw new ServletException(e.getMessage(), rootCause); } } }
private void initHttpMethodValidityVerificationWithCatch() throws ServletException { try { initHttpMethodValidityVerification(); } catch (FacesException e) { Throwable rootCause = e.getCause(); if (rootCause == null) { throw e; } else { throw new ServletException(e.getMessage(), rootCause); } } }
private void initHttpMethodValidityVerificationWithCatch() throws ServletException { try { initHttpMethodValidityVerification(); } catch (FacesException e) { Throwable rootCause = e.getCause(); if (rootCause == null) { throw e; } else { throw new ServletException(e.getMessage(), rootCause); } } }
private void initHttpMethodValidityVerificationWithCatch() throws ServletException { try { initHttpMethodValidityVerification(); } catch (FacesException e) { Throwable rootCause = e.getCause(); if (rootCause == null) { throw e; } else { throw new ServletException(e.getMessage(), rootCause); } } }
public static Object getFactory(String factoryName) throws ServletException { try { return FactoryFinder.getFactory(factoryName); } catch (FacesException e) { Throwable rootCause = e.getCause(); if (rootCause == null) { throw e; } else { throw new ServletException(e.getMessage(), rootCause); } } }
protected void encodeListItems(FacesContext context, UIComponent component, ListType listType) throws IOException { AbstractList list = (AbstractList) component; try { ItemsEncoder itemsEncoder = getItemsEncoderByType(listType); SequenceRendererHelper rendererHelper = new SequenceRendererHelper(list); list.walk(context, itemsEncoder, rendererHelper); if (!rendererHelper.hasWalkedOverRows()) { itemsEncoder.encodeFakeItem(context, component); } } catch (FacesException e) { // TODO nick - review if (e.getCause() instanceof IOException) { throw (IOException) e.getCause(); } else { throw e; } } }
protected void encodeListItems(FacesContext context, UIComponent component, ListType listType) throws IOException { AbstractList list = (AbstractList) component; try { ItemsEncoder itemsEncoder = getItemsEncoderByType(listType); SequenceRendererHelper rendererHelper = new SequenceRendererHelper(list); list.walk(context, itemsEncoder, rendererHelper); if (!rendererHelper.hasWalkedOverRows()) { itemsEncoder.encodeFakeItem(context, component); } } catch (FacesException e) { // TODO nick - review if (e.getCause() instanceof IOException) { throw (IOException) e.getCause(); } else { throw e; } } }