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

Unified Diff: utils/pub/root_source.dart

Issue 11235054: Removed IllegalAccessException and UnsupportedOperationException. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: ADded test expectations. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « utils/archive/entry.dart ('k') | utils/tests/pub/test_pub.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/root_source.dart
diff --git a/utils/pub/root_source.dart b/utils/pub/root_source.dart
index 7fc9784fe0f67d1fc04d70b0e3165a37115c591a..ebab17ef3e2c0c9ce31754dc14bf51e026c42e0b 100644
--- a/utils/pub/root_source.dart
+++ b/utils/pub/root_source.dart
@@ -26,7 +26,6 @@ class RootSource extends Source {
}
Future<bool> install(PackageId id, String destPath) {
- throw new UnsupportedOperationException(
- "Can't install from a root source.");
+ throw new UnsupportedError("Can't install from a root source.");
}
}
« no previous file with comments | « utils/archive/entry.dart ('k') | utils/tests/pub/test_pub.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698