File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Where to handle Exception?" Watch "Where to handle Exception?" New topic
Author

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.

Thanks
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Depends.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Where to handle Exception?