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

Unified Diff: runtime/bin/vmstats/bargraph.dart

Issue 16154017: Rename RuntimeError to CyclicIntializationError, as per spec. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix bad merge in js_helper.dart Created 7 years, 6 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
Index: runtime/bin/vmstats/bargraph.dart
diff --git a/runtime/bin/vmstats/bargraph.dart b/runtime/bin/vmstats/bargraph.dart
index 89b00a49d428c0eca5eef49724bf782857dd8d6a..b9deb1e6dea2fe4187418d7aa4f97ccb084dd1d1 100644
--- a/runtime/bin/vmstats/bargraph.dart
+++ b/runtime/bin/vmstats/bargraph.dart
@@ -31,7 +31,7 @@ class BarGraph {
void addSample(List<int> segments) {
if (segments.length != _elements.length) {
- throw new RuntimeError('invalid sample size for graph');
+ throw new ArgumentError('invalid sample size for graph');
}
_model.addSample(segments);
}

Powered by Google App Engine
This is Rietveld 408576698