You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Maruan Sahyoun (JIRA)" <ji...@apache.org> on 2018/06/28 16:18:00 UTC
[jira] [Resolved] (PDFBOX-4254) PDDocument.close() might ignore
throwing an Exception
[ https://issues.apache.org/jira/browse/PDFBOX-4254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maruan Sahyoun resolved PDFBOX-4254.
------------------------------------
Resolution: Fixed
[~tilman] thank you for the review
> 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
> Assignee: Maruan Sahyoun
> Priority: Major
> Fix For: 3.0.0 PDFBox, 2.0.12
>
>
> 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org