p264~p267:
1. errors may occur in the program: User input error, device error, physical limit error, code error
2. If some operations are not completed due to an error, the program should : return a security state and be able to allow the user to execute some other commands;
or allow the user to save all operation results and terminate the program in a proper manner.
3. The task of exception handling : Transfer control from the place where the error occurred to the error handler that can handle the situation.
4. exception Object : Derived from an instance of the Throwable class.
5,Error class : Do not need to pay attention to
6,Exception class: which do not need to pay attention to RuntimeException class
7. Summary : What should I do when an application error occurs? What are the Java exception classes? What are some of the classes that need attention? (IOException)
Core Java 1