You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/06/09 02:39:01 UTC
[jira] [Comment Edited] (PDFBOX-1600) COSDocument and PDDocument
declare throws IOException when they don't
[ https://issues.apache.org/jira/browse/PDFBOX-1600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14021494#comment-14021494 ]
Tilman Hausherr edited comment on PDFBOX-1600 at 6/9/14 12:37 AM:
------------------------------------------------------------------
My changes resulted in problems with preflight, I had to remove an unneeded exception handler. Fixed in rev 1601284, 1601287 for the 1.8 branch and rev 1601286 for the trunk.
was (Author: tilman):
My changes resulted in problems with preflight, I had to remove an unneeded exception handler. Fixed in rev 1601284 for the 1.8 branch and rev 1601286 for the trunk.
> COSDocument and PDDocument declare throws IOException when they don't
> ---------------------------------------------------------------------
>
> Key: PDFBOX-1600
> URL: https://issues.apache.org/jira/browse/PDFBOX-1600
> Project: PDFBox
> Issue Type: Task
> Components: Documentation
> Affects Versions: 1.8.1, 1.8.5, 1.8.6, 2.0.0
> Reporter: Patrick Tucker
> Assignee: Tilman Hausherr
> Priority: Trivial
> Fix For: 1.8.6, 2.0.0
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> The doc for COSDocument() says it throws an IOException if there is an error creating the temp file. If you dig through the code a temp is never created, a value of null is assigned to tmpFile.
> Upon fixing the COSDocument() constructor, the constructor for PDDocument will also not need to declare an IOException as a possible throws.
--
This message was sent by Atlassian JIRA
(v6.2#6252)