Index: runtime/vm/exceptions.h |
diff --git a/runtime/vm/exceptions.h b/runtime/vm/exceptions.h |
index df4c44c4bd157f16374cdd7588f8862c3ef5aab3..77991533a4c3cec7929c40f3db40170b915dd08f 100644 |
--- a/runtime/vm/exceptions.h |
+++ b/runtime/vm/exceptions.h |
@@ -46,6 +46,7 @@ class Exceptions : AllStatic { |
enum ExceptionType { |
kNone, |
kRange, |
+ kRangeMsg, |
kArgument, |
kArgumentValue, |
kNoSuchMethod, |
@@ -74,6 +75,7 @@ class Exceptions : AllStatic { |
const Integer& argument_value, |
intptr_t expected_from, |
intptr_t expected_to); |
+ static void ThrowRangeErrorMsg(const char* msg); |
static void ThrowCompileTimeError(const LanguageError& error); |
// Returns a RawInstance if the exception is successfully created, |