: [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
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
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
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
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
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