Module io.fusionauth.http
Package io.fusionauth.http.server
Class DefaultHTTPUnexpectedExceptionHandler
java.lang.Object
io.fusionauth.http.server.DefaultHTTPUnexpectedExceptionHandler
- All Implemented Interfaces:
HTTPUnexpectedExceptionHandler
public class DefaultHTTPUnexpectedExceptionHandler
extends Object
implements HTTPUnexpectedExceptionHandler
THe default HTTP unexpected exception handler.
- Author:
- Daniel DeGroff
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(ExceptionHandlerContext context) This handler will be called when an unexpected exception is taken while processing an HTTP request by the HTTP worker.
-
Constructor Details
-
DefaultHTTPUnexpectedExceptionHandler
public DefaultHTTPUnexpectedExceptionHandler()
-
-
Method Details
-
handle
Description copied from interface:HTTPUnexpectedExceptionHandlerThis handler will be called when an unexpected exception is taken while processing an HTTP request by the HTTP worker.The intent is that this provides additional flexibility on the status code and the logging behavior when an unexpected exception caught.
- Specified by:
handlein interfaceHTTPUnexpectedExceptionHandler- Parameters:
context- the exception context
-