Index: runtime/vm/exceptions.h |
diff --git a/runtime/vm/exceptions.h b/runtime/vm/exceptions.h |
index a7ab0224d17cbdd6079a463a8fddd98b5e3671f2..68a8b07440a517d15893cfec1d2d4e937138c46e 100644 |
--- a/runtime/vm/exceptions.h |
+++ b/runtime/vm/exceptions.h |
@@ -15,6 +15,7 @@ class Class; |
class DartFrameIterator; |
class Error; |
class Instance; |
+class Integer; |
class Object; |
class RawInstance; |
class RawObject; |
@@ -72,6 +73,10 @@ class Exceptions : AllStatic { |
static void ThrowOOM(); |
static void ThrowStackOverflow(); |
static void ThrowArgumentError(const Instance& arg); |
+ static void ThrowRangeError(const char* argument_name, |
+ const Integer& argument_value, |
+ intptr_t expected_from, |
+ intptr_t expected_to); |
static void ThrowJavascriptCompatibilityError(const char* msg); |
// Returns a RawInstance if the exception is successfully created, |