Each method in the Archive interface should throw ArchiveException to remain 
consistent with Compressor interface
-----------------------------------------------------------------------------------------------------------------

                 Key: SANDBOX-257
                 URL: https://issues.apache.org/jira/browse/SANDBOX-257
             Project: Commons Sandbox
          Issue Type: Bug
          Components: Compress
         Environment: N/A
            Reporter: Tim Pinet


Every method in the Compressor interface throws a CompressException however not 
all of the methods within the Archive interface throw ArchiveException. When a 
developer (such as myself) is implementing my own Archive implementations (7zip 
and Rar for example) there are error scenarios in some of my concrete method 
implementation where I would like to throw an ArchiveException but can not. 

It is suggested to add a "throws ArchiveException" clause for each of the 
method signatures in the Archive interface.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to