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

Unified Diff: samples/ui_lib/layout/SizingFunctions.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/GridTracks.dart ('k') | samples/ui_lib/layout/ViewLayout.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/ui_lib/layout/SizingFunctions.dart
diff --git a/samples/ui_lib/layout/SizingFunctions.dart b/samples/ui_lib/layout/SizingFunctions.dart
index 2fd7c25fd47bbf61ff599ca94a5628f55c290424..7123c556ddf67d28724e79c84910a8594cd14339 100644
--- a/samples/ui_lib/layout/SizingFunctions.dart
+++ b/samples/ui_lib/layout/SizingFunctions.dart
@@ -44,7 +44,7 @@ class FixedSizing extends SizingFunction {
_contentSized = false {
if (units != 'px' && units != '%') {
// TODO(jmesserly): support other unit types
- throw new UnsupportedOperationException('Units other than px and %');
+ throw new UnsupportedError('Units other than px and %');
}
}
« no previous file with comments | « samples/ui_lib/layout/GridTracks.dart ('k') | samples/ui_lib/layout/ViewLayout.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698