public class RestExceptionHandler
extends io.cdap.http.ExceptionHandler
Constructor and Description |
---|
RestExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handle(Throwable t,
io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder)
Method called when an exception is thrown during the processing of a
request.
|
public void handle(Throwable t, io.netty.handler.codec.http.HttpRequest request, io.cdap.http.HttpResponder responder)
handle
in class io.cdap.http.ExceptionHandler
t
- the exception thrown during executionrequest
- the HttpRequest that failedresponder
- the HttpResponder for the requestCopyright © 2009–2020 Waarp. All rights reserved.