commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33131] New: - HeirarchicalXML save unsupported not documented
Date Mon, 17 Jan 2005 07:33:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33131>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33131

           Summary: HeirarchicalXML save unsupported not documented
           Product: Commons
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Configuration
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: cjensen@edex.com.au


It should be documented that the HeirachicalXML.save method will throw an
UnsupportedOperationException
When choosing the apache commons configuration classes, I was specifically
looking for a way to load and save configurations.
Having read the howto's on the main site and the javadoc for
HeirachicalXMLConfiguration, it is not indicated anywhere that this class does
not support being saved, which is counter intuitive since it has a save method.

The javadoc for this class should clearly state that the save operations do not
work.
It would also be desirable for the superclass's declaration of save to note that
it is possible that some subclasses may throw an UnsupportedOperationException

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message