mirror of
https://github.com/openharmony/ark_runtime_core.git
synced 2026-07-19 21:23:32 -04:00
Fix typo error in exceptions
Signed-off-by: shawn_hu_ls <huxiaowei3@huawei.com>
This commit is contained in:
@@ -246,7 +246,7 @@ void ThrowIllegalAccessException(const PandaString &msg)
|
||||
auto *thread = ManagedThread::GetCurrent();
|
||||
auto ctx = GetLanguageContext(thread);
|
||||
|
||||
ThrowException(ctx, thread, ctx.GetIllegalArgumentExceptionClassDescriptor(), utf::CStringAsMutf8(msg.c_str()));
|
||||
ThrowException(ctx, thread, ctx.GetIllegalAccessExceptionClassDescriptor(), utf::CStringAsMutf8(msg.c_str()));
|
||||
}
|
||||
|
||||
void ThrowOutOfMemoryError(ManagedThread *thread, const PandaString &msg)
|
||||
|
||||
Reference in New Issue
Block a user