Bug 68384 - Remove ugly conditions on String object in view model
Remove ugly conditions on String object in view model
Status: CLOSED FIXED
Product: debugger
Classification: Unclassified
Component: Code
5.x
All All
: P2 (vote)
: 7.3
Assigned To: Martin Entlicher
issues@debugger
:
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo