Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within EJB and other Jakarta /Java EE Technologies
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
EJB and other Jakarta /Java EE Technologies
Catching an exception from a exception-chain in Web Tier
Petr Dusek
Greenhorn
Posts: 23
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi guys.
I need to catch an exception in Web Tier (in a managed bean exactly), which I have thrown in Application Tier (
EJB
). 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?
Thanks, bye.
Lucas Smith
Ranch Hand
Posts: 808
1
I like...
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Please post the code example.
SCJP6, SCWCD5, OCE:EJBD6.
BLOG:
http://leakfromjavaheap.blogspot.com
What's that smell? I think this tiny ad may have stepped in something.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
what's bad about catching "runtime exception" or "exception"
Please final review before submit
Throwing UnmarshalException
simple try & catch
Exception Handling
More...