Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 68384 - Remove ugly conditions on String object in view model
Remove ugly conditions on String object in view model
Product: debugger
Classification: Unclassified
Component: Code
All All
: P2 (vote)
: 7.3
Assigned To: Martin Entlicher
Depends on:
  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


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. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo