Im trying to trap an exception with an ExceptionMapper, but it seems to not 
be triggering. I have the mapper defined as a provider:

public final class HibernateExceptionMapper

implements ExceptionMapper<HibernateException> {

The mapper is returned from my Application.java's getSingletons() call, but 
it's not showing up in the list of "added resources". That is, in the log file, 
there is no line telling me that the singleton resource was added from my 
Application. Also, the mapper is not catching exceptions thrown from my 
endpoints. Other resources (endpoints) are all being logged and working 

Can anybody give me some insight as to what might be wrong?


Eric Stein

Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
Resteasy-users mailing list

Reply via email to