public class ErrorPageForwarder extends Object
Constructor and Description |
---|
ErrorPageForwarder() |
Modifier and Type | Method and Description |
---|---|
void |
forwardToErrorPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String stackTrace,
String exceptionMessage,
String userMessage,
Boolean securityError,
javax.servlet.ServletContext servletContext) |
void |
forwardToErrorPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Throwable t,
String exceptionMessage,
String userMessage,
Boolean securityError,
javax.servlet.ServletContext servletContext) |
String |
getStackTraceAsString(Throwable t) |
public void forwardToErrorPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Throwable t, String exceptionMessage, String userMessage, Boolean securityError, javax.servlet.ServletContext servletContext) throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
public void forwardToErrorPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String stackTrace, String exceptionMessage, String userMessage, Boolean securityError, javax.servlet.ServletContext servletContext) throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.