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

Unified Diff: runtime/vm/exceptions.h

Issue 19172002: Revert "Cleanup VM error handling." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
« no previous file with comments | « runtime/lib/error.dart ('k') | runtime/vm/exceptions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/exceptions.h
diff --git a/runtime/vm/exceptions.h b/runtime/vm/exceptions.h
index 9d4a18ed1d2504a82655bb899c9c6ffb2b4bb467..b762627186b971e670d6ccfe80924cf24e251781 100644
--- a/runtime/vm/exceptions.h
+++ b/runtime/vm/exceptions.h
@@ -37,6 +37,10 @@ class Exceptions : AllStatic {
const Class& cls,
const char* field_name,
const Object& value);
+ static void SetLocationFields(const Instance& instance,
+ const Class& cls,
+ const Script& script,
+ intptr_t location);
static void CreateAndThrowTypeError(intptr_t location,
const String& src_type_name,
const String& dst_type_name,
@@ -57,11 +61,6 @@ class Exceptions : AllStatic {
kIsolateSpawn,
kIsolateUnhandledException,
kFiftyThreeBitOverflowError,
- kAssertion,
- kCast,
- kType,
- kFallThrough,
- kAbstractClassInstantiation,
};
static void ThrowByType(ExceptionType type, const Array& arguments);
« no previous file with comments | « runtime/lib/error.dart ('k') | runtime/vm/exceptions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698