Hi,
Im trying to trap an exception with an ExceptionMapper, but it seems to not
be triggering. I have the mapper defined as a provider:
@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
correctly.
Can anybody give me some insight as to what might be wrong?
Thanks,
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.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users