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 10683 - Annotations should be associated directly to exceptions, not to an error manager instance
Summary: Annotations should be associated directly to exceptions, not to an error mana...
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks: 9933
  Show dependency tree
 
Reported: 2001-03-26 13:37 UTC by Jesse Glick
Modified: 2008-12-22 09:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2001-03-26 13:37:58 UTC
[release32 mar 25] If you use code like this:

catch (IOException ioe) {
    MyModule.myErrorManagerInstance.annotate(ioe,"explanation");
    throw ioe;
}

and the exception is caught by the standard ErrorManager instance, the
annotation will be missing--because they are stored per-ErrorManager.
Annotations ought to be associated only with the throwable, not with a specific
ErrorManager instance.
Comment 1 Jesse Glick 2001-03-26 14:11:26 UTC
Fixed in release32, will merge to trunk too.
Comment 2 Jesse Glick 2001-03-27 14:31:13 UTC
Fixed in the trunk.
Comment 3 Quality Engineering 2003-07-01 16:04:50 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified.

Comment 4 Quality Engineering 2003-07-01 16:29:39 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.
Comment 5 Peter Pis 2008-08-03 22:20:28 UTC
*** Issue 142691 has been marked as a duplicate of this issue. ***