[
https://issues.apache.org/jira/browse/COMPRESS-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Lundberg moved SANDBOX-262 to COMPRESS-15:
-------------------------------------------------
Component/s: (was: Compress)
Key: COMPRESS-15 (was: SANDBOX-262)
Project: Commons Compress (was: Commons Sandbox)
> COMPRESS-REDESIGN: ArchiveStreamFactory does not handle exceptions for
> createArchiveInputStream(InputStream)
> ------------------------------------------------------------------------------------------------------------
>
> Key: COMPRESS-15
> URL: https://issues.apache.org/jira/browse/COMPRESS-15
> Project: Commons Compress
> Issue Type: Bug
> Environment: N/A
> Reporter: Tim Pinet
> Assignee: Torsten Curdt
> Attachments: ArchiveStreamFactory.patch, patch-improve-factories.txt
>
> Original Estimate: 5h
> Remaining Estimate: 5h
>
> Reflection handles the checked exceptions for Constructor.newInstance()
> appropriately for:
> public ArchiveInputStream createArchiveInputStream( final String
> archiverName, final InputStream out ) throws ArchiveException {...}
> However, the other method:
> public ArchiveInputStream createArchiveInputStream( final InputStream input )
> throws IOException {...}
> is not implemented to handle checked constructor exceptions since all
> Exception catches are not handled. It looks as though this method was not
> completed. This method should handle exceptions similar to its counterpart.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.