[
https://issues.apache.org/jira/browse/PDFBOX-2538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14232789#comment-14232789
]
Maruan Sahyoun commented on PDFBOX-2538:
----------------------------------------
[[email protected]] can we move that issue out to 2.1 or is it very critical for
you? If we keep accepting issues for 2.0 we will never get it out of the door.
> avoid "-1 : Unknown error"
> --------------------------
>
> Key: PDFBOX-2538
> URL: https://issues.apache.org/jira/browse/PDFBOX-2538
> Project: PDFBox
> Issue Type: Sub-task
> Components: Preflight
> Reporter: Ralf Hauser
> Fix For: 2.0.0
>
>
> e.g. error 4 in PDFBOX-2513
> after all, we know what the reason is.
> Ideas:
> 1) create COSStreamException extends IOException in COSStream.java
> 2) in SinglePageValidationProcess.validateContent() examine the root cause
> exception type to classify smarter than just ERROR_UNKOWN_ERROR
> any other thoughts?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)