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

Exception Refactoring (Don't wrap Exceptions with COSVisitorException)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • None

    Description

      COSVisitorException is redundant, it is a simple wrapper for SignatureException, CryptographyException and NoSuchAlgorithmException and should be replaced by those exceptions directly.

      For example, we can replace:

      public void write(PDDocument doc) throws COSVisitorException

      With:

      public void write(PDDocument doc) throws IOException, CryptographyException

      and so on...

      Attachments

        Activity

          People

            jahewson John Hewson
            jahewson John Hewson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: