Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-1926 Implement IgfsSecondaryFileSystem using java.io.File API
  3. IGNITE-3668

IGFS: Local secondary: Review all "throw new IOException" places.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7
    • 1.8
    • igfs
    • None

    Description

      We have several places in LocalIgfsSecondaryFileSystem where IOException is thrown. This is not correct, because:
      1) Exception must be specific. E.g. "path-not-found-exception".
      2) It doesn't make sense to throw IOException and cast it to IgfsException immediately.

      Also we should not throw IgniteException. Proper IgfsException must be thrown.

      Let's review all these places and replace IOException with proper IgfsException inheritor.

      Successful implementation should not introduce any new test failures.

      Attachments

        Issue Links

          Activity

            People

              tledkov-gridgain Taras Ledkov
              vozerov Vladimir Ozerov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: