[
https://issues.apache.org/jira/browse/MRESOLVER-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Scholte closed MRESOLVER-63.
-----------------------------------
Resolution: Fixed
Assignee: Robert Scholte
Fixed in
[2e57238c88085ad0d685b3672e61caad99711fa0|https://gitbox.apache.org/repos/asf?p=maven-resolver.git;a=commit;h=2e57238c88085ad0d685b3672e61caad99711fa0]
Thanks for the patch!
> FileTransformer#transformData(File) should also throw TransformException
> ------------------------------------------------------------------------
>
> Key: MRESOLVER-63
> URL: https://issues.apache.org/jira/browse/MRESOLVER-63
> Project: Maven Resolver
> Issue Type: Improvement
> Components: resolver
> Affects Versions: 1.3.1
> Reporter: Robert Scholte
> Assignee: Robert Scholte
> Priority: Major
> Labels: up-for-grabs
> Fix For: 1.3.2
>
>
> 1.3.1 introduced the FileTransformer to allow on-the-fly transforming of data.
> For XML files it makes sense to use XMLFilters and create an XMLReader. This
> can throw a SAXException, which is a checked exception, which shouldn't be
> rethrown as an IOException.
> Better to introduce a new Exception to handle this case properly.
> Assuming this class isn't used anywhere yet, it should be good to introduce
> it asap.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)