Interface UncaughtExceptionHandler


public interface UncaughtExceptionHandler
Handles an exception caught by UncaughtExceptionFilter.
Author:
Kohsuke Kawaguchi
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    reportException(Throwable e, jakarta.servlet.ServletContext context, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse rsp)
    Called to render the exception as an HTTP response.
  • Field Details

  • Method Details

    • reportException

      void reportException(Throwable e, jakarta.servlet.ServletContext context, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse rsp) throws jakarta.servlet.ServletException, IOException
      Called to render the exception as an HTTP response.
      Throws:
      jakarta.servlet.ServletException
      IOException