BasicServerExceptionHandler

A basic implementation of the ServerExceptionHandler which gracefully handles HttpStatusException by setting the response status, and defaults to a 500 INTERNAL SERVER ERROR respones for all other exceptions. If the response has already been flushed, an error will be logged.

class BasicServerExceptionHandler : ServerExceptionHandler {}

Inherited Members

From ServerExceptionHandler

handle
void handle(HttpRequestContext ctx, Exception e)

Handles an HTTP request associated with an exception.