Uploaded image for project: 'Maven Resolver'
  1. Maven Resolver
  2. MRESOLVER-63

FileTransformer#transformData(File) should also throw TransformException

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.1
    • Fix Version/s: 1.3.2
    • Component/s: resolver
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rfscholte Robert Scholte
                Reporter:
                rfscholte Robert Scholte
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: