Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Issue 2864183002: Throw FileSystemException from FileSystemEntity methods. (Closed)

Created:
3 years, 7 months ago by scheglov
Modified:
3 years, 7 months ago
CC:
reviews_dartlang.org, dart-fe-team+reviews_google.com
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Throw FileSystemException from FileSystemEntity methods. We need to be able to handle exceptions regardless of the implementation. R=paulberry@google.com, sigmund@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/48b22b0e526111a4f1fad0b61919213438cceaed

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use OS error message if available. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -136 lines) Patch
M pkg/front_end/lib/file_system.dart View 2 chunks +21 lines, -8 lines 0 comments Download
M pkg/front_end/lib/memory_file_system.dart View 1 chunk +20 lines, -16 lines 0 comments Download
M pkg/front_end/lib/physical_file_system.dart View 1 2 chunks +37 lines, -7 lines 0 comments Download
M pkg/front_end/lib/src/fasta/source/source_loader.dart View 2 chunks +1 line, -8 lines 0 comments Download
M pkg/front_end/lib/src/fasta/translate_uri.dart View 2 chunks +1 line, -8 lines 0 comments Download
M pkg/front_end/test/memory_file_system_test.dart View 6 chunks +33 lines, -29 lines 0 comments Download
M pkg/front_end/test/physical_file_system_test.dart View 3 chunks +67 lines, -60 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
scheglov
3 years, 7 months ago (2017-05-07 04:03:59 UTC) #1
Paul Berry
https://codereview.chromium.org/2864183002/diff/1/pkg/front_end/lib/physical_file_system.dart File pkg/front_end/lib/physical_file_system.dart (right): https://codereview.chromium.org/2864183002/diff/1/pkg/front_end/lib/physical_file_system.dart#newcode59 pkg/front_end/lib/physical_file_system.dart:59: throw new FileSystemException(uri, exception.message); The logic you're removing from ...
3 years, 7 months ago (2017-05-07 14:06:49 UTC) #2
scheglov
PTAL https://codereview.chromium.org/2864183002/diff/1/pkg/front_end/lib/physical_file_system.dart File pkg/front_end/lib/physical_file_system.dart (right): https://codereview.chromium.org/2864183002/diff/1/pkg/front_end/lib/physical_file_system.dart#newcode59 pkg/front_end/lib/physical_file_system.dart:59: throw new FileSystemException(uri, exception.message); On 2017/05/07 14:06:49, Paul ...
3 years, 7 months ago (2017-05-07 15:55:26 UTC) #3
Paul Berry
lgtm
3 years, 7 months ago (2017-05-08 12:57:58 UTC) #4
scheglov
3 years, 7 months ago (2017-05-08 15:27:57 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
48b22b0e526111a4f1fad0b61919213438cceaed (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698