pdf-renderer
  1. pdf-renderer
  2. PDF_RENDERER-72

Throw a proper exception from PDFFile.getNumPages()

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      72

      Description

      PDFFile.getNumPages() currently returns 0 if it encounters any kind of error.
      This is undesirable as it is possible to have a valid PDF file with 0 pages, and
      now it is impossible to distinguish a success condition from an error condition.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            pdf-renderer-issues
            Reporter:
            trejkaz
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: