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

Unified Diff: runtime/vm/exceptions.cc

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: runtime/vm/exceptions.cc
diff --git a/runtime/vm/exceptions.cc b/runtime/vm/exceptions.cc
index 82110582b671574fa1dab76ed7166916a8842654..aa248bd37b2a7208d2ceb93447b0cb95d2734c33 100644
--- a/runtime/vm/exceptions.cc
+++ b/runtime/vm/exceptions.cc
@@ -387,9 +387,9 @@ RawObject* Exceptions::Create(
library = Library::CoreLibrary();
class_name = Symbols::New("ObjectNotClosureException");
break;
- case kBadNumberFormat:
+ case kFormat:
library = Library::CoreLibrary();
- class_name = Symbols::New("BadNumberFormatException");
+ class_name = Symbols::New("FormatException");
break;
case kStackOverflow:
library = Library::CoreLibrary();

Powered by Google App Engine
This is Rietveld 408576698