AbstractTreeUI eats exception, prints

XMLWordPrintable

    • 1.2.2
    • generic
    • generic



      Name: krT82822 Date: 01/13/99


      Swing 1.0.3

      In AbstractTreeUI.treeNodesRemoved, line 757, all exceptions
      are discarded and the simple message "Exception removing node"
      is printed.

      The exceptions shouldn't be trapped; if they occur, they
      represent problems in the code, and the user needs to be able
      to track them down.

      This code probably shouldn't be catching any exceptions;
      they should be allowed to propagate up, since they represent
      errors which the swing code is unprepared to deal with properly.

      If you're going to eat them, print a full stack trace, and do
      it to System.err, not System.out.
      (Review ID: 52340)
      ======================================================================

            Assignee:
            Scott Violet (Inactive)
            Reporter:
            Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: