Index: lib/html/templates/html/dart2js/impl_IDBDatabase.darttemplate |
diff --git a/lib/html/templates/html/dart2js/impl_IDBDatabase.darttemplate b/lib/html/templates/html/dart2js/impl_IDBDatabase.darttemplate |
index fcafadcef880d52f349b08477a7d43eef43a3ca9..46b5c789cbaf775cbbf130a0759978456b771f45 100644 |
--- a/lib/html/templates/html/dart2js/impl_IDBDatabase.darttemplate |
+++ b/lib/html/templates/html/dart2js/impl_IDBDatabase.darttemplate |
@@ -6,7 +6,7 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
_IDBTransactionImpl transaction(storeName_OR_storeNames, String mode) { |
if (mode != 'readonly' && mode != 'readwrite') { |
- throw new IllegalArgumentException(mode); |
+ throw new ArgumentError(mode); |
} |
// TODO(sra): Ensure storeName_OR_storeNames is a string, List<String> or |