Wednesday, May 18, 2005

Throwing Undeclared Checked exception's

A checked exception in Java is an exception that must either be caught or declared to be thrown. As the name suggests, the compiler ensures that these requirements are fulfilled or otherwise reports a program error. As my page in the JavaParty wicki shows, this guarantee is void due to unsafe techniques used in recent JDKs.