public Response executeExceptionMapperForClass(Throwable exception, Class clazz)
{
ExceptionMapper mapper = providerFactory.getExceptionMappers().get(clazz);
if (mapper == null) return null;
mapperExecuted = true;
return mapper.toResponse(exception);
}
protected Response handleApplicationException(HttpRequest request, ApplicationException e)
{
Response jaxrsResponse = null;