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 843c455878..d9620df0b9 100644
--- a/runtime/common_throws.h
+++ b/runtime/common_throws.h
@@ -111,6 +111,11 @@ void ThrowIllegalAccessError(ObjPtr<mirror::Class> referrer, const char* fmt, ..
__attribute__((__format__(__printf__, 2, 3)))
REQUIRES_SHARED(Locks::mutator_lock_) COLD_ATTR;
+void ThrowIllegalAccessErrorForImplementingMethod(ObjPtr<mirror::Class> klass,
+ ArtMethod* implementation_method,
+ ArtMethod* interface_method)
+ REQUIRES_SHARED(Locks::mutator_lock_) COLD_ATTR;
+
// IllegalAccessException
void ThrowIllegalAccessException(const char* msg)