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

Summary: ErrorManager example in ErrorManagerUsage.html is wrong
Product: platform Reporter: _ tboudreau <tboudreau>
Component: -- Other --Assignee: Jesse Glick <jglick>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 17747    
Bug Blocks:    

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