A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
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.
Have you checked out
subject: Catching an exception from a exception-chain in Web Tier
what's bad about catching "runtime exception" or "exception"
Please final review before submit
simple try & catch
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015