A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
suppress checked compile time exception
Joined: Jul 31, 2009
Nov 13, 2009 05:48:04
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?
Joined: Feb 05, 2001
Nov 16, 2009 18:13:02
Have your method throw the Exception instead of catching it.
Perfect World Programming, LLC
Two Laptop Bag
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: suppress checked compile time exception
Overiding with Exceptions
Is there compile time exceptions in java?
Checked exception and interface.
differ between checked and unchecked?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014