Last Comment Bug 47026 - Several methods in BookmarkEntry interface doesn't throw Unimplemented exception
: Several methods in BookmarkEntry interface doesn't throw Unimplemented exception
Status: REOPENED
suntrak-n6
:
Product: Core Graveyard
Classification: Graveyard
Component: Java APIs to WebShell (show other bugs)
: Trunk
: All Windows NT
: P3 enhancement (vote)
: ---
Assigned To: edburns
: Alexei V. Mokeev
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2000-07-31 05:27 PDT by Oleg Khokhlov
Modified: 2012-04-09 22:27 PDT (History)
4 users (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---


Attachments
Patch for /mozilla/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/RDFTreeNode.java (1.56 KB, patch)
2001-05-11 02:31 PDT, Vladimir Strigun
no flags Details | Diff | Splinter Review
The fix is very simple. (616 bytes, patch)
2001-09-04 01:42 PDT, Oleg Khokhlov
no flags Details | Diff | Splinter Review

Description Oleg Khokhlov 2000-07-31 05:27:07 PDT
Several methods in BookmarkEntry interface, inherited from 
javax.swing.tree.MutableTreeNode:
   remove(int index),
   remove(MutableTreeNode node),
   removeFromParent(),
   setUserObject(Object obj)
doesn't throw Unimplemented exception.

Supposed solution:
1. Add string "import org.mozilla.webclient.UnimplementedException;" in file 
   RDFTreeNode.java;
2. Add string "throw new UnimplementedException("\nUnimplementedException 
   -----\n API Function BookmarkEntry::METHOD_NAME has not yet been    
   implemented.\n");" in the body of those methods in file RDFTreeNode.java;
Comment 1 edburns 2000-08-01 12:37:03 PDT
a
Comment 2 edburns 2000-08-04 14:45:58 PDT
Fix checked in.
Comment 3 Oleg Khokhlov 2000-08-17 04:21:05 PDT
Unfortunatly, method setUserObject(Object obj) still doesn't throw Unimplemented 
exception.

Comment 4 geetha.vaidyanaathan 2000-11-17 14:34:20 PST
Adding Status whiteboard keyword to track all Webclient existing bugs
Comment 5 Vladimir Strigun 2000-12-01 08:27:14 PST
Also method getAllowsChildren should throw Unimplemented exception.
This method always return true:

    boolean result = true;
    return result;
Comment 6 Alexei V. Mokeev 2001-05-03 05:22:08 PDT
Changing QA contact
Comment 7 Vladimir Strigun 2001-05-11 02:31:13 PDT
Created attachment 34057 [details] [diff] [review]
Patch for /mozilla/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/RDFTreeNode.java
Comment 8 edburns 2001-05-11 15:40:24 PDT
Fix checked in.
Comment 9 Oleg Khokhlov 2001-09-04 01:41:18 PDT
Method setUserObject(Object obj) still doesn't throw Unimplemented 
exception.
I will create an attachment with a fix.
Comment 10 Oleg Khokhlov 2001-09-04 01:42:18 PDT
Created attachment 48126 [details] [diff] [review]
The fix is very simple.
Comment 11 Thomas 2005-03-01 13:17:15 PST
Oleg, do you have any feedback concerning your fix?

Note You need to log in before you can comment on or make changes to this bug.