Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Exceptions

 
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think I am getting very confused with the Exceptions.
At someplace the specs say that the application exceptions are propagated to the client and the client is given a chance to handle. The system/checked exceptions are handled by the container. Any application exception that we don't want the client to handle should be wrapped inside EJBException and re-thrown so that the container can handle it.
What is the deal with RemoteException? According to me that is also a checked exception (from Exception.IOException class)and should be dealt accordingly. Why it is treated separately all over the specs ?
Also I'm having a tough time understanding the exception from methods in CMT beans.
Can someone enumerate the important portions in the "Exception handling" chapter ? In how much detail we need to know ?
Thanks, Sudd
 
Create symphonies in seed and soil. For this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic