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 190079 - can't suppress exception logging
Summary: can't suppress exception logging
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: API_REVIEW_FAST
Depends on:
Blocks: 193422
  Show dependency tree
 
Reported: 2010-09-01 14:51 UTC by Tomas Stupka
Modified: 2011-01-08 18:47 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Exceptions.attachSeverity and test (5.49 KB, patch)
2010-09-01 15:15 UTC, Jaroslav Tulach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Stupka 2010-09-01 14:51:43 UTC
Product Version = NetBeans IDE 6.9.1 (Build 201007282301)
Operating System = Mac OS X version 10.6.4 running on x86_64
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) 64-Bit Server VM 16.3-b01-279

in case an exception implements the Callable<LogRecord[]> interface and returns a log record with a Level low enough, it's not going to be notified to the user. Unfortunately, the exception still gets logged.
Comment 1 Jaroslav Tulach 2010-09-01 15:15:59 UTC
Created attachment 101809 [details]
Exceptions.attachSeverity and test
Comment 2 Jaroslav Tulach 2010-09-06 14:11:02 UTC
Unless there are comments, I'll integrate on Wednesday.
Comment 3 Jaroslav Tulach 2010-09-08 04:39:43 UTC
core-main#552f9810e3a7
Comment 4 Quality Engineering 2010-09-09 03:06:49 UTC
Integrated into 'main-golden', will be available in build *201009090000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/552f9810e3a7
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #190079: Exceptions.attachSeverity for supressing DataObjectNotFound exception for .svn files