[ 
https://issues.apache.org/jira/browse/MRESOLVER-53?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed MRESOLVER-53.
-----------------------------------
    Resolution: Fixed
      Assignee: Olivier Lamy (*$^¨%`£)

Fixed with 
[30fd0d5b5e39c3e77898be3293a0dad9693fed98|https://gitbox.apache.org/repos/asf?p=maven-resolver.git;a=commit;h=30fd0d5b5e39c3e77898be3293a0dad9693fed98].

> Document runtime exceptions
> ---------------------------
>
>                 Key: MRESOLVER-53
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-53
>             Project: Maven Resolver
>          Issue Type: Wish
>          Components: resolver
>    Affects Versions: Maven Artifact Resolver 1.1.1
>            Reporter: Elliotte Rusty Harold
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Major
>              Labels: up-for-grabs
>             Fix For: 1.3.3
>
>
> The API documentation should specify which runtime exceptions are thrown when 
> and why. For instance, DefaultArtifact's constructors seem to throw 
> IllegalArgumentExceptions if given bad coordinates:
> Exception in thread "main" java.lang.IllegalArgumentException: Bad artifact 
> coordinates blah blah, expected format is 
> <groupId>:<artifactId>[:<extension>[:<classifier>]]:<version>
> That's reasonable. However it's not mentioned in the Javadoc, and I'm about 
> to commit code to my project that depends on this behavior. We should 
> document and commit to these. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to