Skip to content

Commit 8086471

Browse files
authored
修正一个单词拼写错误 (lingcoder#518)
DymamicFields 改为 DynamicFields . close lingcoder#517
1 parent d0bc327 commit 8086471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/book/15-Exceptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ public class PreciseRethrow {
780780

781781
有趣的是,在 Throwable 的子类中,只有三种基本的异常类提供了带 cause 参数的构造器。它们是 Error(用于 Java 虚拟机报告系统错误)、Exception 以及 RuntimeException。如果要把其他类型的异常链接起来,应该使用 initCause() 方法而不是构造器。
782782

783-
下面的例子能让你在运行时动态地向 DymamicFields 对象添加字段:
783+
下面的例子能让你在运行时动态地向 DynamicFields 对象添加字段:
784784

785785
```java
786786
// exceptions/DynamicFields.java

0 commit comments

Comments
 (0)