tag:blogger.com,1999:blog-13911304.post-1119574805748162612005-06-23T17:56:00.000-07:002005-06-23T18:00:05.750-07:00Checked vs. Unchecked Exceptions<ul> <li><span style="font-size:85%;">Checked exceptions are checked at compile time (not exactly checked, but the compiler knows will occur since they are declared as being thrown during compile time), so the compiler will crib if you don't handle them.<br /> </span></li> <li><span style="font-size:85%;">Unchecked exceptions only occur at runtime, mostly extend RuntimeException, these can't be checked, usually occur due to program errors, such as NullPointerException</span></li> <li><span style="font-size:85%;">There have been holy wars waged over this topic.<br /> </span></li> </ul>Java Foohttp://www.blogger.com/profile/14104080800348407575noreply@blogger.com