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

Kristian Rosenvold commented on COMPRESS-290:
---------------------------------------------

Come to think of it, commons-compress could probably provide a lot of these 
messages directly in the error since the knowledge about the capabilities of 
the format belong inside commons-compress. I'll submit a patch for this if you 
find this ok, and I'll try to find out if we need to do anything on the outside 
or just keep the RuntimeException

> 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)

Reply via email to