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

Issue 18090003: Add FileException.path and clean up file exceptions. (Closed)

Created:
7 years, 5 months ago by Anders Johnsen
Modified:
7 years, 5 months ago
Reviewers:
Bill Hesse, PhistucK
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add FileException.path and clean up file exceptions. Now correctly throw ArgumentError and not delayed FileExceptions in case of invalid arguments. BUG=https://code.google.com/p/dart/issues/detail?id=3075 Committed: https://code.google.com/p/dart/source/detail?r=24523

Patch Set 1 #

Total comments: 10

Patch Set 2 : CLean up test and remove debug code. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -204 lines) Patch
M sdk/lib/io/common.dart View 2 chunks +3 lines, -3 lines 0 comments Download
M sdk/lib/io/directory.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M sdk/lib/io/directory_impl.dart View 2 chunks +4 lines, -4 lines 0 comments Download
M sdk/lib/io/file.dart View 1 chunk +12 lines, -3 lines 0 comments Download
M sdk/lib/io/file_impl.dart View 1 48 chunks +60 lines, -81 lines 0 comments Download
M sdk/lib/io/file_system_entity.dart View 3 chunks +4 lines, -4 lines 0 comments Download
M sdk/lib/io/link.dart View 6 chunks +8 lines, -8 lines 0 comments Download
M tests/standalone/io/file_invalid_arguments_test.dart View 1 1 chunk +25 lines, -99 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Anders Johnsen
7 years, 5 months ago (2013-06-27 16:18:32 UTC) #1
Bill Hesse
Very nice. Looks good to me. https://codereview.chromium.org/18090003/diff/1/sdk/lib/io/file_impl.dart File sdk/lib/io/file_impl.dart (right): https://codereview.chromium.org/18090003/diff/1/sdk/lib/io/file_impl.dart#newcode412 sdk/lib/io/file_impl.dart:412: throwIfError(ms, "Cannot retrieve ...
7 years, 5 months ago (2013-06-27 16:32:45 UTC) #2
Anders Johnsen
https://codereview.chromium.org/18090003/diff/1/sdk/lib/io/file_impl.dart File sdk/lib/io/file_impl.dart (right): https://codereview.chromium.org/18090003/diff/1/sdk/lib/io/file_impl.dart#newcode412 sdk/lib/io/file_impl.dart:412: throwIfError(ms, "Cannot retrieve modification", _path); On 2013/06/27 16:32:46, Bill ...
7 years, 5 months ago (2013-06-27 16:42:18 UTC) #3
Anders Johnsen
Committed patchset #2 manually as r24523 (presubmit successful).
7 years, 5 months ago (2013-06-27 16:42:43 UTC) #4
PhistucK
On 2013/06/27 16:42:43, Anders Johnsen wrote: > Committed patchset #2 manually as r24523 (presubmit successful). ...
7 years, 5 months ago (2013-06-27 18:52:34 UTC) #5
PhistucK
7 years, 5 months ago (2013-06-27 19:10:24 UTC) #6
Message was sent while issue was closed.
On 2013/06/27 18:52:34, PhistucK wrote:
> On 2013/06/27 16:42:43, Anders Johnsen wrote:
> > Committed patchset #2 manually as r24523 (presubmit successful).
> 
> FileException is going away. See https://codereview.chromium.org/17761003/ for
> details.

Oops, thank you. Sorry!

Powered by Google App Engine
This is Rietveld 408576698