1. 03 Nov, 2020 1 commit
    • Correctly handling Exception: java.nio.file.FileSystemException: No space left on device. · 99ddb403
      By default methods File.makeDir() and File.makeDirs() can return 'false' if file aleady exists or can not be created. Such silent ignore of the situation propagates misbehavior to the caller: CacheDataSink#173 : new FileOutputStream(file). And then it throws not correct exception type 'FileNotFoundException'. While correct exception should be 'no space left on the device'.
      
      This can be fixed only with 'Files.createDirectories()' method that throws correct exception type.
      Samoylenko Dmitry committed
  2. 02 Nov, 2020 39 commits