Re: [Resteasy-users] ExceptionMapper not catching an exception

2013-05-02 Thread Stein, Eric
: [Resteasy-users] ExceptionMapper not catching an exception Ah, that I can do. org.hibernate.HibernateException: Uhoh, better get Macco! at com.mycompany.myproduct.tenant.api.Dashboard.getApplication(Dashboard.java:72) at org.apache.jsp.site.dashboard.viewDashboard_jsp._jspService

Re: [Resteasy-users] ExceptionMapper not catching an exception

2013-05-01 Thread Stein, Eric
0 DEBUG [org.jboss.resteasy.core.SynchronousDispatcher] > (http-localhost-127.0.0.1-8080-2) PathInfo: > /tenant/utility/announcement > 09:36:10,140 DEBUG [org.jboss.resteasy.core.SynchronousDispatcher] > (http-localhost-127.0.0.1-8080-6) PathInfo: /tenant/record/list > 09:36:10,1

Re: [Resteasy-users] ExceptionMapper not catching an exception

2013-05-01 Thread Bill Burke
BUG [org.jboss.resteasy.core.SynchronousDispatcher] > (http-localhost-127.0.0.1-8080-2) PathInfo: /tenant/utility/announcement > 09:36:10,140 DEBUG [org.jboss.resteasy.core.SynchronousDispatcher] > (http-localhost-127.0.0.1-8080-6) PathInfo: /tenant/record/list > 09:36:10,140 DEBUG

Re: [Resteasy-users] ExceptionMapper not catching an exception

2013-05-01 Thread Stein, Eric
ay, May 01, 2013 10:08 AM To: resteasy-users@lists.sourceforge.net Subject: Re: [Resteasy-users] ExceptionMapper not catching an exception Do you receive any stack trace at all? This might help me narrow things down further. On 5/1/2013 9:45 AM, Stein, Eric wrote: > Hi, > >Im trying t

Re: [Resteasy-users] ExceptionMapper not catching an exception

2013-05-01 Thread Bill Burke
Do you receive any stack trace at all? This might help me narrow things down further. On 5/1/2013 9:45 AM, Stein, Eric wrote: > 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 > > *publ

[Resteasy-users] ExceptionMapper not catching an exception

2013-05-01 Thread Stein, Eric
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 { The mapper is returned from my Application.java's getSingletons() call