[ 
https://issues.apache.org/jira/browse/PDFBOX-2538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225155#comment-17225155
 ] 

Maruan Sahyoun commented on PDFBOX-2538:
----------------------------------------

Moving out of the 3.0.0 release target. Might be worth dedicating a joint 
effort to preflight after release

> avoid "-1 : Unknown error" message in preflight
> -----------------------------------------------
>
>                 Key: PDFBOX-2538
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2538
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Preflight
>    Affects Versions: 2.0.0
>            Reporter: Ralf Hauser
>            Priority: Minor
>
> 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
(v8.3.4#803005)

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

Reply via email to