[
https://issues.apache.org/jira/browse/XERCESJ-310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Elliotte Rusty Harold resolved XERCESJ-310.
-------------------------------------------
Resolution: Fixed
seems to have been fixed long ago
> XMLSerializer writeNode() throws generic java.lang.Exception
> ------------------------------------------------------------
>
> Key: XERCESJ-310
> URL: https://issues.apache.org/jira/browse/XERCESJ-310
> Project: Xerces2-J
> Issue Type: Bug
> Components: Serialization
> Affects Versions: 2.0.1
> Environment: Operating System: All
> Platform: All
> Reporter: elharo
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]