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

Unified Diff: runtime/vm/dart_api_impl.h

Issue 8501034: Deal with unhandled exceptions the same way in all Dart api functions. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 1 month 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/dart_api_impl.h
===================================================================
--- runtime/vm/dart_api_impl.h (revision 1328)
+++ runtime/vm/dart_api_impl.h (working copy)
@@ -14,6 +14,7 @@
class Object;
class PersistentHandle;
class RawObject;
+class UnhandledException;
Ivan Posva 2011/11/10 18:05:46 I don't see why this is here.
turnidge 2011/11/10 20:59:13 Thanks. It's a leftover. Removed.
class Api : AllStatic {
public:
@@ -39,6 +40,9 @@
static Dart_Handle VError(const char* format, va_list args);
+ // Generates an error handle from an unhandled exception.
+ static Dart_Handle ErrorFromException(const Object& obj);
+
// Gets a handle to Null.
static Dart_Handle Null();

Powered by Google App Engine
This is Rietveld 408576698