A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
Catching an exception from a exception-chain in Web Tier
Joined: Nov 26, 2012
Jan 21, 2013 02:07:47
I need to catch an exception in Web Tier (in a managed bean exactly), which I have thrown in Application Tier (
). But if I try to do this the exception-chain will be thrown and I will catch nothing (only the general Exception, not my Exception).
How to solve this?
Joined: Apr 20, 2009
Jan 21, 2013 12:51:38
Please post the code example.
SCJP6, SCWCD5, OCE:EJBD6.
I agree. Here's the link:
subject: Catching an exception from a exception-chain in Web Tier
Please final review before submit
simple try & catch
what's bad about catching "runtime exception" or "exception"
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014