You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dennis Lundberg (JIRA)" <ji...@apache.org> on 2009/03/23 23:19:51 UTC
[jira] Moved: (COMPRESS-4) Each method in the Archive interface
should throw ArchiveException to remain consistent with Compressor
interface
[ https://issues.apache.org/jira/browse/COMPRESS-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg moved SANDBOX-257 to COMPRESS-4:
------------------------------------------------
Component/s: (was: Compress)
Key: COMPRESS-4 (was: SANDBOX-257)
Project: Commons Compress (was: Commons Sandbox)
> Each method in the Archive interface should throw ArchiveException to remain consistent with Compressor interface
> -----------------------------------------------------------------------------------------------------------------
>
> Key: COMPRESS-4
> URL: https://issues.apache.org/jira/browse/COMPRESS-4
> Project: Commons Compress
> Issue Type: Bug
> Environment: N/A
> Reporter: Tim Pinet
> Attachments: Archive.patch
>
> Original Estimate: 10h
> Remaining Estimate: 10h
>
> 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.