pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maruan Sahyoun (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PDFBOX-4254) PDDocument.close() might ignore throwing an Exception
Date Thu, 28 Jun 2018 10:25:01 GMT

     [ https://issues.apache.org/jira/browse/PDFBOX-4254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Maruan Sahyoun updated PDFBOX-4254:
-----------------------------------
    Fix Version/s: 3.0.0 PDFBox

> 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


Mime
View raw message