File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Where to handle Exception? 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 » Frameworks » Struts
Bookmark "Where to handle Exception?" Watch "Where to handle Exception?" New topic

Where to handle Exception?

Davie Lin
Ranch Hand

Joined: Aug 05, 2007
Posts: 294
Is it better to handle Exception in the Model level or the Controller level in Action class?

Opinion appreciated.

David Newton

Joined: Sep 29, 2008
Posts: 12617

I agree. Here's the link:
subject: Where to handle Exception?
Similar Threads
urgent ->why to follow jdbc steps for getting conncetion
Performance tuning through java
Exception throw in Catch block ?!
Can you throw too many exceptions?
Exception handling and general doh's