差異處
這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
java:effective_java:exceptions [2022/04/13 23:04] tony [Effective Java - Exceptions] |
java:effective_java:exceptions [2023/06/25 09:48] (目前版本) |
||
---|---|---|---|
行 4: | 行 4: | ||
* [[java:effective_java:exceptions:checked_vs_unchecked|Use checked exceptions for recoverable conditions and runtime exceptions for programming errors]] | * [[java:effective_java:exceptions:checked_vs_unchecked|Use checked exceptions for recoverable conditions and runtime exceptions for programming errors]] | ||
* [[java:effective_java:exceptions:Favor_the_use_of_standard_exceptions|Favor the use of standard exceptions]] | * [[java:effective_java:exceptions:Favor_the_use_of_standard_exceptions|Favor the use of standard exceptions]] | ||
+ | * [[java:effective_java:exceptions:Throw_exceptions_appropriate_to_the_abstraction|Throw exceptions appropriate to the abstraction]] | ||
* [[java:effective_java:exceptions:strive_for_failure_atomicity|Strive for failure atomicity]] | * [[java:effective_java:exceptions:strive_for_failure_atomicity|Strive for failure atomicity]] | ||
* [[java:effective_java:exceptions:Don't_ignore_exceptions|Don't ignore exceptions]] | * [[java:effective_java:exceptions:Don't_ignore_exceptions|Don't ignore exceptions]] |