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 68384 - Remove ugly conditions on String object in view model
Summary: Remove ugly conditions on String object in view model
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-09 15:01 UTC by Martin Entlicher
Modified: 2013-01-21 09:18 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2005-11-09 15:01:30 UTC
In TreeModelNode there are places where UnknownTypeException is catched, but not
reported if the object is an instance of String. This does not seem to have any
sense, since this can hide implementation deficiencies in the models.
Comment 1 Martin Entlicher 2013-01-10 16:38:59 UTC
Due to compatibility reasons, it's risky to report all UnknownTypeExceptions.
Instead, we report them into the log, via a logger with Level.CONFIG level. This should be sufficient to catch eventual errors.