[shrinkwrap-issues] [JBoss JIRA] Commented: (SHRINKWRAP-122) Test for ArchiveImportException if an error occurs during ZipImporter.importZip
Andrew Lee Rubinger (JIRA)
jira-events at lists.jboss.org
Sun Jan 24 16:46:19 EST 2010
[ https://jira.jboss.org/jira/browse/SHRINKWRAP-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12507954#action_12507954 ]
Andrew Lee Rubinger commented on SHRINKWRAP-122:
------------------------------------------------
I've cleared up the ArchiveImportException and ZipImporter JavaDoc.
Essentially if any unexpected error is encountered during import, we wrap this Exception in ArchiveImportException. Hence this type always has a cause.
And the API declares it in ZipImporter.importZip(ZipFile), so we must obey. :)
> Test for ArchiveImportException if an error occurs during ZipImporter.importZip
> -------------------------------------------------------------------------------
>
> Key: SHRINKWRAP-122
> URL: https://jira.jboss.org/jira/browse/SHRINKWRAP-122
> Project: ShrinkWrap
> Issue Type: Task
> Components: impl-base
> Reporter: Andrew Lee Rubinger
> Attachments: SHRINKWRAP-122.patch, SHRINKWRAP-122.patch
>
>
> We're missing coverage to ensure that problems with importing from a ZIP result in ArchiveImportException, as stated in the ZipImporter JavaDocs
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the shrinkwrap-issues
mailing list