Index: runtime/bin/dartutils.h |
diff --git a/runtime/bin/dartutils.h b/runtime/bin/dartutils.h |
index 27e4e2659e1bb70adaa7e59ce1a10eb97b5bb801..57a4702a11c0452b34f0e4e5217cfed83400f6c9 100644 |
--- a/runtime/bin/dartutils.h |
+++ b/runtime/bin/dartutils.h |
@@ -106,10 +106,16 @@ class DartUtils { |
static bool PostNull(Dart_Port port_id); |
static bool PostInt32(Dart_Port port_id, int32_t value); |
+ static Dart_Handle GetDartClass(const char* library_url, |
+ const char* class_name); |
// Create a new Dart OSError object with the current OS error. |
static Dart_Handle NewDartOSError(); |
// Create a new Dart OSError object with the provided OS error. |
static Dart_Handle NewDartOSError(OSError* os_error); |
+ static Dart_Handle NewDartExceptionWithMessage(const char* library_url, |
+ const char* exception_name, |
+ const char* message); |
+ static Dart_Handle NewDartIllegalArgumentException(const char* message); |
static void SetOriginalWorkingDirectory(); |