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 Type
    Method
    Description
    void
    This handler will be called when an unexpected exception is taken while processing an HTTP request by the HTTP worker.
  • Method Details

    • handle

      void handle(ExceptionHandlerContext context)
      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