[jira] [Resolved] (XERCESC-2212) AbstractDOMParser::parse potentially throws undocumented OutOfMemoryException

"Scott Cantor (Jira)" <[email protected]>
Newsgroups gmane.text.xml.xerces-c.devel
Message-ID <[email protected]>
     [ https://issues.apache.org/jira/browse/XERCESC-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Cantor resolved XERCESC-2212.
-----------------------------------
    Fix Version/s:     (was: 3.2.4)
       Resolution: Won't Fix

I checked and there is no clear evidence that it was intended that this be documented. Half the API does indeed raise that exception type and I don't see it noted. It's just the way it works.

> AbstractDOMParser::parse potentially throws undocumented OutOfMemoryException
> -----------------------------------------------------------------------------
>
>                 Key: XERCESC-2212
>                 URL: https://issues.apache.org/jira/browse/XERCESC-2212
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: DOM
>    Affects Versions: 3.2.2, 3.2.3
>            Reporter: Tamir Yehuda
>            Assignee: Scott Cantor
>            Priority: Minor
>
> the code shows that 
> {code:java}
> try
> {
>     // ...
> }
> catch(const OutOfMemoryException&)
> {
>     resetInProgress.release();
>     throw;
> }
> {code}
> and the OutOfMemoryException could be thrown. However this is not shown in the documentation



--
This message was sent by Atlassian Jira
(v8.20.10#820010)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.