• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

exception handling

 
jacob deiter
Ranch Hand
Posts: 580
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I develop web application based on struts 1.2,Spring 2.0,Hibernate 3.1.I do have idea in exception handling using Checked Exception (try catch and throws).But i heard that checked exception make our code messy and mingled with business.I advised to use Unchecked exception.bUt i do not know how to implement this.I have idea about declarative exception handling in Struts.

Please suggest How I design exception handling in my application.

Is there any framework available for this?
 
cortin flaneir
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for exception handling there are many ways...you can write you own exception class.and you can use try catch throw also.dont confuse boss........
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic