Exceptions let us separate problem detection from problem resolution. The part of the program that detects a problem need not know how to deal with it.
英
美
- 通过异常我们能够将问题的检测和问题的解决分离,这样程序的问题检测部分可以不必了解如何处理问题。