Implementation of a Valve that outputs error jsons.
This Valve should be attached at the Host level, although it will work if attached to a Context.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | report(Request
The request being processed request, Response The response being generated response, Throwable The exception that occurred (which possibly wraps a root cause exception throwable)Overrides org. Prints out an error report. |
| JsonErrorReportValve | back to summary |
|---|---|
| public JsonErrorReportValve() | |
| report | back to summary |
|---|---|
| protected void report(Request request, Response response, Throwable throwable) Overrides org. Doc from org. Prints out an error report. | |