} catch (ServletException e) {
log.warn("could not register exception mappers");
}
// make sure interceptors are loaded and registered
InterceptorServiceImpl interceptorService = CDIContext.getInstance(InterceptorServiceImpl.class);
try {
interceptorService.register(((HttpServletDispatcher) restEasyFilter.getServlet()).getDispatcher().getProviderFactory());
} catch (ServletException e) {
log.warn("could not register interceptors");
}
}