Skip to content

Commit 961547e

Browse files
committed
Update api-exception documentation
1 parent b923975 commit 961547e

File tree

2 files changed

+0
-52
lines changed

2 files changed

+0
-52
lines changed

docs-source/src/en/config/api-exception.md

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1811,33 +1811,6 @@ Please confirm the target method of your Hook, the number of method parameters o
18111811

18121812
::: danger IllegalStateException
18131813

1814-
PackageParam got null ClassLoader
1815-
1816-
:::
1817-
1818-
**Abnormal**
1819-
1820-
The `appClassLoader` variable was called in `PackageParam` but the instance object could not be obtained.
1821-
1822-
> The following example
1823-
1824-
```kotlin
1825-
encase {
1826-
// This variable is called
1827-
appClassLoader...
1828-
}
1829-
```
1830-
1831-
**Solution**
1832-
1833-
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.
1834-
1835-
If this problem does occur, please provide feedback with detailed logs.
1836-
1837-
###### exception
1838-
1839-
::: danger IllegalStateException
1840-
18411814
Current Hook Framework not support moduleAppResources
18421815

18431816
:::

docs-source/src/zh-cn/config/api-exception.md

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1735,31 +1735,6 @@ injectMember {
17351735

17361736
::: danger IllegalStateException
17371737

1738-
PackageParam got null ClassLoader
1739-
1740-
:::
1741-
1742-
**异常原因**
1743-
1744-
`PackageParam` 中调用了 `appClassLoader` 变量但是无法获取到实例对象。
1745-
1746-
> 示例如下
1747-
1748-
```kotlin
1749-
encase {
1750-
// 调用了此变量
1751-
appClassLoader...
1752-
}
1753-
```
1754-
1755-
**解决方案**
1756-
1757-
这种情况几乎不存在,除非模块被装载的宿主或目标 Hook Framework 自身存在问题,若真的发生了此问题,请携带详细日志进行反馈。
1758-
1759-
###### exception
1760-
1761-
::: danger IllegalStateException
1762-
17631738
Current Hook Framework not support moduleAppResources
17641739

17651740
:::

0 commit comments

Comments
 (0)