• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

exception handling framework/blocks

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 262
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you looked at log4j?
 
yogesh seth
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i understand that log4j is used for logging and not for exception handling, right?
 
Dave Wingate
Ranch Hand
Posts: 262
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic