-->
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.  [ 1 post ] 
Author Message
 Post subject: Hibernate EJB3 Exception handling
PostPosted: Sun May 27, 2007 4:05 pm 
Newbie

Joined: Sun May 27, 2007 3:57 pm
Posts: 7
Hi, I am using jboss/jsf/hibernate. Using a facade model, making my calls from a managed bean.
i.e session bean -> called from JSF managed bean.

I would like to catch constraint excetions , but I have been only successful catching a Runtime exception withing the mangaged bean. I have tried to catch ConstaingViolationException , but it just fall through.

What would be the best practice to catch exceptions using a facade model.


thx jason


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

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.