Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-19

ArchiveStreamFactory.createArchiveInputStream() & createArchiveOutputStream() should throw Exception if archiverName is not recognised

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.0
    • None
    • None

    Description

      ArchiveStreamFactory.createArchiveInputStream() should throw an Exception if archiverName is not recognised - at present it returns null, which is not particularly helpful.

      The method sig says it throws ArchiveException; however it could also throw IllegalArgumentException.

      Likewise for createArchiveOutputStream()

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: