posted 18 years ago
I ran into this question on a mock exam: "Is a MalformedURLException a checked exception?" checked exception = compile time exception. So, I would have thought it was a runtime, unchecked exception. It turns out it is checked at compile time for the "handle and declare" rule. I have searched, but cannot find a definition of this rule. Can anyone elaborate? Is it just checking that you assigned a value in your code?