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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/common_throws.h b/runtime/common_throws.h
index 55a89388ea..4afef7993d 100644
--- a/runtime/common_throws.h
+++ b/runtime/common_throws.h
@@ -151,6 +151,12 @@ void ThrowIncompatibleClassChangeError(ObjPtr<mirror::Class> referrer, const cha
void ThrowIncompatibleClassChangeErrorForMethodConflict(ArtMethod* method)
REQUIRES_SHARED(Locks::mutator_lock_) COLD_ATTR;
+// InternalError
+
+void ThrowInternalError(const char* fmt, ...)
+ __attribute__((__format__(__printf__, 1, 2)))
+ REQUIRES_SHARED(Locks::mutator_lock_) COLD_ATTR;
+
// IOException
void ThrowIOException(const char* fmt, ...) __attribute__((__format__(__printf__, 1, 2)))