Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-2538

avoid "-1 : Unknown error" message in preflight

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.0.2, 3.0.0 PDFBox
    • Preflight
    • None

    Description

      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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            hauser@acm.org Ralf Hauser
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: