This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
i understand that log4j is used for logging and not for exception handling, right?
Joined: Mar 26, 2002
Yeah, I guess I tend to think of exception handling and logging as being so intimately related that you'd want to consider a strategy for loggin as part of your strategy forexception handling.
I don' tknow of any frameworks specific to exception handling, but you could consider using aspectj as a grammar for rolling your own exception handling framework. Exception strategies are generally cross-cutting concerns. Aspect oriented programming would lend it self well to solving this type of problem.
Joined: Jun 28, 2005
Dave, thanks a lot for ur time that sounds to b a gud idea. for that matter, we r using spring on business and web layer. we can probably use spring aop implementation to implement exception handling. any thoughts/suggestions on that? any gud link/piece of code which might help us doing that?