{
protected Void handle(ResteasyRequestWrapper requestWrapper,
HttpResponse response) throws Exception
{
SynchronousDispatcher dispatcher = (SynchronousDispatcher)deployment.getDispatcher();
dispatcher.writeException(requestWrapper.getHttpRequest(), response, failure);
return null;
}
}.handle(new ResteasyRequestWrapper(request), response);
}