summaryrefslogtreecommitdiff
path: root/runtime/common_throws.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/common_throws.h')
-rw-r--r--runtime/common_throws.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/common_throws.h b/runtime/common_throws.h
index c3a1f09db3..7a335859e5 100644
--- a/runtime/common_throws.h
+++ b/runtime/common_throws.h
@@ -211,6 +211,11 @@ void ThrowRuntimeException(const char* fmt, ...)
void ThrowStackOverflowError(Thread* self) SHARED_REQUIRES(Locks::mutator_lock_) COLD_ATTR;
+// StringIndexOutOfBoundsException
+
+void ThrowStringIndexOutOfBoundsException(int index, int length)
+ SHARED_REQUIRES(Locks::mutator_lock_) COLD_ATTR;
+
// VerifyError
void ThrowVerifyError(mirror::Class* referrer, const char* fmt, ...)