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

Unified Diff: lib/html/templates/html/impl/impl_WheelEvent.darttemplate

Issue 11235054: Removed IllegalAccessException and UnsupportedOperationException. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
Index: lib/html/templates/html/impl/impl_WheelEvent.darttemplate
diff --git a/lib/html/templates/html/impl/impl_WheelEvent.darttemplate b/lib/html/templates/html/impl/impl_WheelEvent.darttemplate
index 37873a57d64919f01162e8864c4660b1c43da41c..7f83436faeccd96990e195309527fc0b16b3c8a4 100644
--- a/lib/html/templates/html/impl/impl_WheelEvent.darttemplate
+++ b/lib/html/templates/html/impl/impl_WheelEvent.darttemplate
@@ -29,7 +29,7 @@ $if DART2JS
}
return 0;
}
- throw const UnsupportedOperationException(
+ throw new StateError(
'deltaY is not supported');
}
@@ -57,7 +57,7 @@ $if DART2JS
}
return 0;
}
- throw const UnsupportedOperationException(
+ throw new StateError(
'deltaX is not supported');
}

Powered by Google App Engine
This is Rietveld 408576698