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.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Catching an exception from a exception-chain in Web Tier
simple try & catch
Please final review before submit
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-2013