Module io.fusionauth.http
Package io.fusionauth.http.server
Interface HTTPUnexpectedExceptionHandler
- All Known Implementing Classes:
DefaultHTTPUnexpectedExceptionHandler
public interface HTTPUnexpectedExceptionHandler
An interface defining the HTTP unexpected exception handler contract.
- Author:
- Daniel DeGroff
-
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.
-
Method Details
-
handle
This 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.
- Parameters:
context- the exception context
-