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

Unified Diff: lib/html/src/XMLElementWrappingImplementation.dart

Issue 10850034: Rename BadNumberFormatException -> FormatException. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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/src/XMLElementWrappingImplementation.dart
diff --git a/lib/html/src/XMLElementWrappingImplementation.dart b/lib/html/src/XMLElementWrappingImplementation.dart
index dcd01546ab55c96bd07524855295355c2a9f54a4..b4d7a62e52224cdac86756152e0cc3fde736fa83 100644
--- a/lib/html/src/XMLElementWrappingImplementation.dart
+++ b/lib/html/src/XMLElementWrappingImplementation.dart
@@ -157,7 +157,7 @@ class XMLElementWrappingImplementation extends ElementWrappingImplementation
int get tabIndex() {
try {
return Math.parseInt(_attr('tabIndex'));
- } catch (BadNumberFormatException e) {
+ } catch (FormatException e) {
return 0;
}
}

Powered by Google App Engine
This is Rietveld 408576698