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

Unified Diff: lib/compiler/implementation/lib/native_helper.dart

Issue 10909166: Rename NoSuchMethodException to NoSuchMethodError. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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/compiler/implementation/lib/native_helper.dart
diff --git a/lib/compiler/implementation/lib/native_helper.dart b/lib/compiler/implementation/lib/native_helper.dart
index aca2538319cee5f779bb74d432943270e81c3796..0432dfc2ea11e182fcc6ab27fd9366a3391de758 100644
--- a/lib/compiler/implementation/lib/native_helper.dart
+++ b/lib/compiler/implementation/lib/native_helper.dart
@@ -173,7 +173,7 @@ void defineProperty(var obj, String property, var value) {
* This method looks up the type name of [obj] in [methods]. [methods]
* is a Javascript object. If it cannot find it, it looks into the
* [_dynamicMetadata] array. If the method can still not be found, it
- * creates a method that will throw a [NoSuchMethodException].
+ * creates a method that will throw a [NoSuchMethodError].
*
* Once it has a method, the prototype of [obj] is patched with that
* method, on the property [name]. The method is then invoked.
@@ -204,7 +204,7 @@ dynamicBind(var obj,
var proto = JS('var', 'Object.getPrototypeOf(#)', obj);
if (method === null) {
// If the method cannot be found, we use a trampoline method that
- // will throw a [NoSuchMethodException] if the object is of the
+ // will throw a [NoSuchMethodError] if the object is of the
// exact prototype, or will call [dynamicBind] again if the object
// is a subclass.
method = JS('var',

Powered by Google App Engine
This is Rietveld 408576698