DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8977>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8977

XMLSerializer writeNode() throws generic java.lang.Exception

           Summary: XMLSerializer writeNode() throws generic
                    java.lang.Exception
           Product: Xerces2-J
           Version: 2.0.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Serialization
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The writeNode() method in XMLSerializer is declared to throw a generic
jva.lang.Exception. I don't see any justificstion for this. It should have a
more specific throws clauses that identifies exactly which checked exceptions it
can throw; e.g.

throws DOMSystemException, IOException

Changing this to make it more specific should not break anybody's existing code.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to