-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Exception Management in Interceptor
PostPosted: Wed Jul 11, 2007 12:04 pm 
Beginner
Beginner

Joined: Wed May 02, 2007 12:24 am
Posts: 41
Hello,

I have an implementation of the IInterceptor, which sometimes throws a business exception.

What I'm seeing is that sometimes I get the exception that was thrown, other times I get a nHibernate exception, with ADO inner exception (for example, telling me that save failed).

Is there a race condition going on? Am I doing something wrong?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 11, 2007 12:51 pm 
Beginner
Beginner

Joined: Wed May 02, 2007 12:24 am
Posts: 41
upon further stduy...realized that the inner exception is the exception that the intercepter is throwing. Sometimes though that exception is not wrapped in nHibernate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.