posted 12 years ago
Thanks, Henry :-)
What I finally understood is, if we catch a checked exception, that has no possibility of being thrown in the try block, compiler would generate an error. In case of unchecked exception, even if there is no possibility of it being thrown in the try block, compiler does not complain.
I hope I am correct this time :-)