Maruan Sahyoun created PDFBOX-4254:
--------------------------------------

             Summary: PDDocument.close() might ignore throwing an Exception
                 Key: PDFBOX-4254
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4254
             Project: PDFBox
          Issue Type: Bug
          Components: PDModel
    Affects Versions: 2.0.10, 2.0.11, 3.0.0 PDFBox
            Reporter: Maruan Sahyoun


As discussed on the mailing list:

I had a look at IOUtils.closeAndLogException() and PDDocument.close() and if 
initialException is not null, then null is returned if a new exception is 
thrown, or if everything goes well. This means that at the end of 
PDDocument.close(), no exception would be thrown, right? Was this intended?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to