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'); |
} |