my dog learned polymorphism
The moose likes Struts and the fly likes exception handling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "exception handling" Watch "exception handling" New topic

exception handling

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 580
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

Joined: May 26, 2008
Posts: 13
for exception handling there are many can write you own exception class.and you can use try catch throw also.dont confuse boss........
I agree. Here's the link:
subject: exception handling
It's not a secret anymore!