public interface ExceptionResolver
| Modifier and Type | Interface and Description |
|---|---|
static class |
ExceptionResolver.ResolverWrapper |
| Modifier and Type | Field and Description |
|---|---|
static ExceptionResolver |
DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
void |
onResolve(HttpRequest request,
HttpResponse response,
java.lang.Throwable e)
Resolve exceptions that occur in the program, replacing the default output information for the exception.
|
static final ExceptionResolver DEFAULT
void onResolve(HttpRequest request, HttpResponse response, java.lang.Throwable e)
request - current request.response - current response.e - an exception occurred in the program.