Interface ExceptionHandler<T extends java.lang.Throwable,​R>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      R handle​(io.micronaut.http.HttpRequest request, T exception)
      Handles an exception and returns the result.
    • Method Detail

      • handle

        @Executable
        R handle​(io.micronaut.http.HttpRequest request,
                 T exception)
        Handles an exception and returns the result.
        Parameters:
        request - The request
        exception - The exception type
        Returns:
        The result