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

Unified Diff: samples/ui_lib/layout/ViewLayout.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 | « samples/ui_lib/layout/SizingFunctions.dart ('k') | tests/co19/co19-dart2dart.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/ui_lib/layout/ViewLayout.dart
diff --git a/samples/ui_lib/layout/ViewLayout.dart b/samples/ui_lib/layout/ViewLayout.dart
index 98be5f1b47679e4ebc73a153ca603eb27804ae88..f9373026fb6a4ed9be2760395998aedacc724407 100644
--- a/samples/ui_lib/layout/ViewLayout.dart
+++ b/samples/ui_lib/layout/ViewLayout.dart
@@ -213,7 +213,7 @@ class ViewLayout {
return int.parse(style.substring(0, style.length - 2));
} else {
// TODO(jmesserly): other size units
- throw new UnsupportedOperationException(
+ throw new UnsupportedError(
'Unknown min/max content size format: "$style"');
}
}
« no previous file with comments | « samples/ui_lib/layout/SizingFunctions.dart ('k') | tests/co19/co19-dart2dart.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698