This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
If a statement throws an exception that is not handled the editor shows a hint "surround a statement with try/catch", which just logs the error. It is often necessary to re-throw an exception wrapped in another one. The editor could show a hint allowing to re-throw an exception. Example: public void a(java.sql.Result rs) throws IOException { // the next line could throw an java.sql.SQLException rs.next(); // show a hint here "re-throw as IOException" }