commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Bodewig (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COMPRESS-290) TarArchiveOutputStream#failForBigNumber could be more helpful
Date Fri, 10 Oct 2014 11:30:33 GMT

    [ https://issues.apache.org/jira/browse/COMPRESS-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14166653#comment-14166653
] 

Stefan Bodewig commented on COMPRESS-290:
-----------------------------------------

Hmm, the same is true for long names as well.  Would you prefer two different exception classes?
 Also there are quite a few fields that might trigger the exception, do you want to identify
it by name or should we introduce an enum of some kind?

> TarArchiveOutputStream#failForBigNumber could be more helpful
> -------------------------------------------------------------
>
>                 Key: COMPRESS-290
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-290
>             Project: Commons Compress
>          Issue Type: Improvement
>            Reporter: Kristian Rosenvold
>
> We have now ported all of maven to use commons compress. When a user is running tar compression,
we may sometimes fail because the selected tar format does not support big numbers.
> In this context we'd like to help our users by informing them that there may be other
tar formats than can be more suitable. I would request that this method throw some specialized
subclass of RuntimeException that we can catch to identify this particular error condition,
so we can talk to our users about their options :)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message