News

The throws clause has been expanded to accommodate situations where you might need to add close() methods that can throw exceptions outside of the IOException hierarchy; for example, java.sql ...
The implementation of this in Sun Microsystems’ Java 2 Platform, Standard Edition (J2SE) 1.4.1 assumes, somewhat naively, that such uncaught exceptions can only be subclasses of java.lang.Exception.