Class JsonErrorReportValve

    • Constructor Detail

      • JsonErrorReportValve

        public JsonErrorReportValve()
    • Method Detail

      • report

        protected void report​(Request request,
                              Response response,
                              Throwable throwable)
        Description copied from class: ErrorReportValve
        Prints out an error report.
        Overrides:
        report in class ErrorReportValve
        Parameters:
        request - The request being processed
        response - The response being generated
        throwable - The exception that occurred (which possibly wraps a root cause exception