美文网首页AndroidAndroid开发Android技术知识
Android基础进阶之EffectJava翻译系列(第八章:异

Android基础进阶之EffectJava翻译系列(第八章:异

作者: 青楼爱小生 | 来源:发表于2019-02-20 17:06 被阅读0次
Item 57: Use exceptions only for exceptional conditions
Item 58: Use checked exceptions for recoverable conditions and

runtime exceptions for programming errors

Item 59: Avoid unnecessary use of checked exceptions
Item 60: Favor the use of standard exceptions
Item 61: Throw exceptions appropriate to the abstraction
Item 62: Document all exceptions thrown by each method
Item 63: Include failure-capture information in detail messages
Item 64: Strive for failure atomicity
Item 65: Don’t ignore exceptions

相关文章

网友评论

    本文标题:Android基础进阶之EffectJava翻译系列(第八章:异

    本文链接:https://www.haomeiwen.com/subject/pjnhyqtx.html