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 32618 - ErrorManager example in ErrorManagerUsage.html is wrong
Summary: ErrorManager example in ErrorManagerUsage.html is wrong
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on: 17747
Blocks:
  Show dependency tree
 
Reported: 2003-04-04 09:57 UTC by _ tboudreau
Modified: 2008-12-22 16:31 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 _ tboudreau 2003-04-04 09:57:35 UTC
The following usage example is on that page:

  ErrorManager.getErrorManager ().annotate (
    ex, 
    ErrorManager.INFORMATIONAL, 
    "localized message describing why we could not
find java.lang.Object"
  );

There is no method with the above signature
annotate (Throwable t, int severity, String
localizedMessage)

Probably there should be, as the only way to
accomplish the
above is much more convoluted.
Comment 1 Jesse Glick 2003-04-04 15:11:36 UTC
Fixing by marking that page obsolete, which it is. Official
ErrorManager docs do not yet exist - see issue #17747.
Comment 2 Marian Mirilovic 2005-07-15 07:41:53 UTC
closed