commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Lundberg (JIRA)" <j...@apache.org>
Subject [jira] Moved: (COMPRESS-4) Each method in the Archive interface should throw ArchiveException to remain consistent with Compressor interface
Date Mon, 23 Mar 2009 22:19:51 GMT

     [ 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.


Mime
View raw message