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.
Created attachment 132690 [details] shows the error without fixable hint <code> void method() { try { int i=1; } catch (JAXBException e) { // error in this line } } </code> ACTUAL: error "exception is never thrown in body of corresponding try statement", but no fixable hint EXPECTED: error "exception is never thrown in body of corresponding try statement" with fixable hint "remove catch of newer thrown exception"
This appears to be implemented in the currently unreleased NB 9.0, by org.netbeans.modules.java.hints.errors.ExtraCatch