Interface WebExceptionHandler


  • public interface WebExceptionHandler
    Possibly handle exeptions within a Servlet request context
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean handleException​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Throwable thrown)
      If possible, handle the throwable with appropriate http response
    • Method Detail

      • handleException

        boolean handleException​(javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response,
                                java.lang.Throwable thrown)
        If possible, handle the throwable with appropriate http response
        Parameters:
        request - request
        response - response
        thrown - throwable
        Returns:
        true if response was sent for the exception