From 961547e94cd8fc4651880c2233d9f8aa045af3cb Mon Sep 17 00:00:00 2001 From: fankesyooni Date: Fri, 13 Jan 2023 03:17:53 +0800 Subject: [PATCH] Update api-exception documentation --- docs-source/src/en/config/api-exception.md | 27 ------------------- docs-source/src/zh-cn/config/api-exception.md | 25 ----------------- 2 files changed, 52 deletions(-) diff --git a/docs-source/src/en/config/api-exception.md b/docs-source/src/en/config/api-exception.md index 98a8c7cd..010501ae 100644 --- a/docs-source/src/en/config/api-exception.md +++ b/docs-source/src/en/config/api-exception.md @@ -1811,33 +1811,6 @@ Please confirm the target method of your Hook, the number of method parameters o ::: danger IllegalStateException -PackageParam got null ClassLoader - -::: - -**Abnormal** - -The `appClassLoader` variable was called in `PackageParam` but the instance object could not be obtained. - -> The following example - -```kotlin -encase { - // This variable is called - appClassLoader... -} -``` - -**Solution** - -This situation hardly exists, unless there is a problem with the Host App where the Module App is loaded or the target Hook Framework itself. - -If this problem does occur, please provide feedback with detailed logs. - -###### exception - -::: danger IllegalStateException - Current Hook Framework not support moduleAppResources ::: diff --git a/docs-source/src/zh-cn/config/api-exception.md b/docs-source/src/zh-cn/config/api-exception.md index f55d7b6f..e2e2d7c3 100644 --- a/docs-source/src/zh-cn/config/api-exception.md +++ b/docs-source/src/zh-cn/config/api-exception.md @@ -1735,31 +1735,6 @@ injectMember { ::: danger IllegalStateException -PackageParam got null ClassLoader - -::: - -**异常原因** - -在 `PackageParam` 中调用了 `appClassLoader` 变量但是无法获取到实例对象。 - -> 示例如下 - -```kotlin -encase { - // 调用了此变量 - appClassLoader... -} -``` - -**解决方案** - -这种情况几乎不存在,除非模块被装载的宿主或目标 Hook Framework 自身存在问题,若真的发生了此问题,请携带详细日志进行反馈。 - -###### exception - -::: danger IllegalStateException - Current Hook Framework not support moduleAppResources :::