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/16 19:59:04 UTC

[jira] [Created] (MRESOLVER-24) Turn some IllegalArgumentExceptions into IllegalStateExceptions

Michael Osipov created MRESOLVER-24:
---------------------------------------

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