Index: runtime/bin/dartutils.h |
diff --git a/runtime/bin/dartutils.h b/runtime/bin/dartutils.h |
index 57f168f6aedfab2fc4c761f2a80fb1563c9e8b05..2687614d650d41ed663f3c5287765befe56bae09 100644 |
--- a/runtime/bin/dartutils.h |
+++ b/runtime/bin/dartutils.h |
@@ -105,10 +105,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); |
Bill Hesse
2012/10/31 16:33:29
Changed to ArgumentError
|
static void SetOriginalWorkingDirectory(); |