Friday, January 13, 2006

EJB best practices: Build a better exception-handling framework

EJB best practices: Build a better exception-handling framework: "
developerWorks > Java technology >
EJB best practices: Build a better exception-handling framework

Deliver more useful exceptions without sacrificing clean code

Level: Intermediate

Brett McLaughlin (brett@oreilly.com), Author and Editor, O'Reilly and Associates

01 Jan 2003

Enterprise applications are often built with little attention given to exception handling, which can result in over-reliance on low-level exceptions such as java.rmi.RemoteException and javax.naming.NamingException. In this installment of EJB Best Practices, Brett McLaughlin explains why a little attention goes a long way when it comes to exception handling, and shows you two simple techniques that will set you on the path to building more robust and useful exception handling frameworks."

No comments: