Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pattern for exceptions

 
karl koch
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
  • 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
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic