File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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: 576
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
Similar Threads
Struts 2 Design and Programming Tutorial: post relational databases?
DB Connections and Exception Handling in Web Application
struts 1.2 and declarative exception handling
exception handling best practices in struts
Exception Handling in existing application?