public void handlePageException(Throwable t) throws IOException, ServletException { request.setAttribute(JsfConstants.JSP_EXCEPTION, t); if (errorPageURL != null && !errorPageURL.equals("")) { try { forward(errorPageURL); } catch (IllegalStateException ise) { include(errorPageURL); } } else { if (t instanceof IOException) { throw (IOException) t; } if (t instanceof ServletException) { throw (ServletException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } if (t instanceof JspException) { Throwable rootCause = ((JspException) t).getRootCause(); if (rootCause != null) { throw new ServletException(t.getMessage(), rootCause); } throw new ServletException(t); } throw new ServletException(t); } }
rootCause = ((JspException) t).getRootCause(); } else if (t instanceof ELException) { rootCause = t.getCause();
rootCause = ((JspException) t).getRootCause(); } else if (t instanceof ELException) { rootCause = t.getCause();
rootCause = ((JspException) t).getRootCause(); } else if (t instanceof ELException) { rootCause = t.getCause();
rootCause = ((JspException) t).getRootCause(); } else if (t instanceof ELException) { rootCause = t.getCause();
rootCause = ((JspException) t).getRootCause(); } else if (t instanceof ELException) { rootCause = t.getCause();
rootCause = ((JspException) t).getRootCause(); } else if (t instanceof ELException) { rootCause = t.getCause();
rootCause = ((JspException) t).getRootCause(); } else if (t instanceof ELException) { rootCause = t.getCause();
rootCause = ((JspException) t).getRootCause(); } else if (t instanceof ELException) { rootCause = t.getCause();
rootCause = ((JspException) t).getRootCause(); } else if (t instanceof ELException) { rootCause = ((ELException) t).getRootCause();
rootCause = ((JspException) t).getRootCause(); } else if (t instanceof ELException) { rootCause = ((ELException) t).getRootCause();
public static void log(Log log, JspException jspe) { Throwable cause = jspe.getRootCause(); if (cause == null) { cause = jspe; } if ((cause != jspe) && (cause instanceof JspException)) { log(log, (JspException)cause); } else if (cause instanceof ServletException) { log(log, (ServletException)cause); } else { _log(log, cause); } }