• 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

pattern for exceptions

 
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi javaranchers
i wonder if there are patterns, recomendations and hints on how to deal with exceptions. where to catch them (rethrow them until some central exception manager, handle them where they occur...)

thanks for your hints and ideas!
k
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Karl,
There is a very good paper on the subject on the IBM developerWorks website. The focus in on handling exceptions in EJB, but I think the whole concept could be applied to other Java applications as well.
Best practices in EJB exception handling
There are additional articles on the Java Practices web site.
However, do not take for granted all "best-practices" as some may not apply or be relevant to your own application.
Best regards
Hope this helps
 
karl koch
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi Beno�t

thanks for the links.
the article from ibm was intersting and helped me....i still have to think about....

karl
 
reply
    Bookmark Topic Watch Topic
  • New Topic