You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/05/10 16:59:57 UTC
DO NOT REPLY [Bug 8977] New: -
XMLSerializer writeNode() throws generic java.lang.Exception
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: xerces-j-dev@xml.apache.org
ReportedBy: elharo@metalab.unc.edu
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: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org