aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes pattern for exceptions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "pattern for exceptions" Watch "pattern for exceptions" New topic
Author

pattern for exceptions

karl koch
Ranch Hand

Joined: May 25, 2001
Posts: 388
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

Joined: Nov 22, 2008
Posts: 18944
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

Joined: May 25, 2001
Posts: 388
hi Beno�t

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

karl
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: pattern for exceptions