public interface ExceptionHandler
Implementations of this interface may also choose to suppress error page handler, and handle error page generation
internally by returning true
Modifier and Type | Method and Description |
---|---|
boolean |
handleThrowable(HttpServerExchange exchange,
ServletRequest request,
ServletResponse response,
Throwable throwable)
Handles an exception.
|
boolean handleThrowable(HttpServerExchange exchange, ServletRequest request, ServletResponse response, Throwable throwable)
exchange
- The exchangerequest
- The requestresponse
- The responsethrowable
- The exceptiontrue
true if the error was handled by this methodCopyright © 2019 JBoss by Red Hat. All rights reserved.