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.

Bug 201389

Summary: Multi-Catch/Multicatch not highlighting places that throw selected exception
Product: java Reporter: mithun_gonsalvez <mithun_gonsalvez>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.0.1   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:

Description mithun_gonsalvez 2011-08-29 03:42:18 UTC
Product Version = NetBeans IDE 7.0.1 (Build 201107282000)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0
Runtime = Java HotSpot(TM) 64-Bit Server VM 21.0-b17

        try {
                 // code that throws exception
        } catch (WebException | ParserException ex) { // Not Run Time Exceptions
            LOGGER.error("Error", ex);
            throw new ProcessingException(ex);
        }
Comment 1 mithun_gonsalvez 2011-08-29 03:44:28 UTC
        try {
                 process(); // throws WebException
        } catch (WebException | ParserException ex) { // Not Run Time Exceptions
            LOGGER.error("Error", ex);
            throw new ProcessingException(ex);
        }

when selecting WebException, it does not highlight process()
Comment 2 Jiri Prox 2011-08-29 14:11:01 UTC
repropducible
Comment 3 Dusan Balek 2011-09-02 09:48:28 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/a74c693144a3
Comment 4 Quality Engineering 2011-09-03 14:30:31 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/a74c693144a3
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #201389: Multi-Catch/Multicatch not highlighting places that throw selected exception - fixed.