Chromium Code Reviews

Unified Diff: runtime/bin/path_impl.dart

Issue 10989013: Change IllegalArgumentException to ArgumentError. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated co19 test expectations. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: runtime/bin/path_impl.dart
diff --git a/runtime/bin/path_impl.dart b/runtime/bin/path_impl.dart
index 42ef0c2a69030fefb239b40383514d7b85069a88..9c7e43825e96a84a26c092c59c7adcfe4f8d816b 100644
--- a/runtime/bin/path_impl.dart
+++ b/runtime/bin/path_impl.dart
@@ -58,7 +58,7 @@ class _Path implements Path {
Path join(Path further) {
if (further.isAbsolute) {
- throw new IllegalArgumentException(
+ throw new ArgumentError(
"Path.join called with absolute Path as argument.");
}
if (isEmpty) {

Powered by Google App Engine