Community
Participate
Working Groups
Build ID: M20070921-1145 It would be nice to know that getChild() can return nulls and that keys specified to setString()/getString(), for example, should be valid XML names (see bug #122341) More information: http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/api/org/eclipse/ui/actions/WorkingSetFilterActionGroup.html
And either IMemento or XMLMemento should mention that it can throw a DOMException.
I'll leave this open for the DOMException and fix the other problems mentioned as bug 122341 PW
Created attachment 182764 [details] Update javadoc v01 I've added DOMException to the methods in XMLMemento that can throw it. I've also updated the class javadoc for IMement to note that the default implementation can throw DOMExceptions. PW
(In reply to comment #3) > Created an attachment (id=182764) [details] > Update javadoc v01 Released to HEAD PW
The DOMException should be documented in the Javadoc ;-)
Would you like me to mention it in the javadoc in the IMemento (as a note our default implementation can throw DOMException) or simply in the XMLMemento? I'll get this in M4, I swear :-) PW
(In reply to comment #6) > Would you like me to mention it in the javadoc in the IMemento (as a note our > default implementation can throw DOMException) or simply in the XMLMemento? > > I'll get this in M4, I swear :-) > > PW It looks like the exception is only needed in the implementation.
Created attachment 184608 [details] Update XMLMemento javadoc v01
Released for M4 PW
Verified in I20101206-1800.
Those changes didn't make it into 4.x.
Released to master http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=130fd81cef2f1d8d2d3c67a700ee6e228175c6da http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=b68a6a1380f9f5cd1db1e5566b1ff25e3557b6ac PW
Verified in 'master'.