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 171691 - [Mark Occurrences] Throw points in try-catch block
Summary: [Mark Occurrences] Throw points in try-catch block
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Svata Dedic
Depends on:
Reported: 2009-09-08 11:03 UTC by Jiri Prox
Modified: 2013-09-02 14:22 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2009-09-08 11:03:04 UTC
Product Version: NetBeans IDE Dev (Build 200909040632)
Java: 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02
System: Linux version 2.6.24-23-generic running on i386; UTF-8; en_US (nb)

Mark Occurrences can by improved to show throw point from related try block when cursor is located over the exception
class in catch clause.
Comment 1 malfunction84 2011-02-01 19:38:44 UTC
It should also work when the cursor is on the "catch" keyword, marking occurrences of throw points for the corresponding exception.  (This would be consistent with issue 109906, which requests marking method exit points when the cursor is on the "return" keyword.)

For multi-catch (JDK7), it should mark occurrences of all of the exceptions in the clause.
Comment 2 malfunction84 2011-02-01 19:47:14 UTC
Sorry, my previous comment is already covered by bug 157402.