Interface ErrorPageManager

All Known Implementing Classes:
DefaultErrorPageManager

public interface ErrorPageManager
The ErrorPageManager API.
Author:
Manfred Riem ([email protected])
  • Method Details

    • addErrorPage

      void addErrorPage(int statusCode, String page)
      Add an error page.
      Parameters:
      statusCode - the status code.
      page - the page.
    • addErrorPage

      void addErrorPage(String throwableClassName, String page)
      Add an error page.
      Parameters:
      throwableClassName - the throwable class name.
      page - the page.
    • getErrorPage

      String getErrorPage(Throwable throwable, HttpServletResponse response)
      Returns the error page.
      Parameters:
      throwable - the throwable.
      response - the HTTP servlet response.
      Returns:
      the error page