File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Spring and the fly likes suppress checked compile time exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "suppress checked compile time exception" Watch "suppress checked compile time exception" New topic

suppress checked compile time exception

vik ar
Ranch Hand

Joined: Jul 31, 2009
Posts: 104
I want to handle checked exception via spring aop. At compile time a try catch is required otherwise compile time error results? Is there any way to suppress these errors?
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

Have your method throw the Exception instead of catching it.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: suppress checked compile time exception
jQuery in Action, 3rd edition