You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2017/05/22 22:22:04 UTC
[jira] [Closed] (MRESOLVER-24) Turn some IllegalArgumentExceptions
into IllegalStateExceptions
[ https://issues.apache.org/jira/browse/MRESOLVER-24?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MRESOLVER-24.
-----------------------------------
Resolution: Fixed
Fixed with [a5d4da0dcc27486151115d81bf2249570267c2dd|https://git-wip-us.apache.org/repos/asf?p=maven-resolver.git;a=commit;h=a5d4da0dcc27486151115d81bf2249570267c2dd].
> Turn some IllegalArgumentExceptions into IllegalStateExceptions
> ---------------------------------------------------------------
>
> Key: MRESOLVER-24
> URL: https://issues.apache.org/jira/browse/MRESOLVER-24
> Project: Maven Resolver
> Issue Type: Improvement
> Affects Versions: Maven Artifact Resolver 1.0.3
> Reporter: Michael Osipov
> Assignee: Michael Osipov
> Fix For: Maven Artifact Resolver 1.1.0
>
>
> In some spots passed arguments are valid, but in connection with other objects they cause a problem. This should throw an {{IllegalStateException}} and not {{IllegalArgumentProblem}} because the arguments theirselves were valid when they were passed.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)