[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

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

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

2013-05-01 Thread Stein, Eric
Bill, Thanks for taking a swing at this! Nope. This is through JBoss, so I set standalone.xml's logging to be: No stack trace at all. This is all the resteasy log messages I'm getting: 09:36:09,613 INFO [org.jboss.resteasy.spi.ResteasyDeployment] (h

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

2013-05-01 Thread Bill Burke
I need a stack track of the exception thrown when you have an error. Not the boot log. On 5/1/2013 10:20 AM, Stein, Eric wrote: > Bill, >Thanks for taking a swing at this! > > Nope. This is through JBoss, so I set standalone.xml's logging to be: > > >

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

2013-05-01 Thread Stein, Eric
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(viewDashboard_jsp.java:98) at org.apache.jasper.runtime.HttpJspBase.servic