• 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

Exceptions

 
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic