This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes exception handling framework/blocks Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "exception handling framework/blocks" Watch "exception handling framework/blocks" New topic
Author

exception handling framework/blocks

yogesh seth
Greenhorn

Joined: Jun 28, 2005
Posts: 17
I am developing a web application in JAVA with spring framework on business and web layer and IBatis on data layer. are their any good opensource exception handling frameworks/blocks available on net?

cheers
yogesh
Dave Wingate
Ranch Hand

Joined: Mar 26, 2002
Posts: 262
Have you looked at log4j?


Fun programming etcetera!
yogesh seth
Greenhorn

Joined: Jun 28, 2005
Posts: 17
i understand that log4j is used for logging and not for exception handling, right?
Dave Wingate
Ranch Hand

Joined: Mar 26, 2002
Posts: 262
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.
yogesh seth
Greenhorn

Joined: Jun 28, 2005
Posts: 17
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?

cheers
yogesh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: exception handling framework/blocks
 
Similar Threads
Best practice: logging in 3 tier web application
is there EJB3 Exception handling framework?
Benefits of Using Spring and Struts
aop rules engine
Framework creating tips for web applications