Package org.kohsuke.stapler
Interface UncaughtExceptionHandler
public interface UncaughtExceptionHandler
Handles an exception caught by
UncaughtExceptionFilter
.- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
DEFAULT
-
-
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
-