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

Andreas Lehmkühler closed PDFBOX-2538.
--------------------------------------
    Fix Version/s: 3.0.0 PDFBox
                   2.0.2
       Resolution: Fixed

The described exception no longer occurs starting with 2.0.2. I didn't dig 
deeper into this to find the change fixing this.

> 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
>             Fix For: 3.0.0 PDFBox, 2.0.2
>
>
> 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.20.10#820010)

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

Reply via email to