Java Exception Handling and Logging Design Lesson 3
1, an overview of the
The main content of this course is as follows:
- Java exception Architecture
- Exception handling
- The log specification
- Error code protocol
- Exception and log integration practices
2. Java exception system
2.1 Java Exception Handling Process
2.2 Java Exception handling mechanism
2.3 Exception handling design and practice
• Principles of exception throwing and catching
• Java exception system try… catch… Finally Process analysis
• JDK7 resource shutdown new pose try with Resource flow parsing
• Rules for exception throwing and catching in NPE scenarios and handling countermeasures
3. Log protocol
3.1 Log Function
3.2 Log time protocol
3.3 Log output protocol
3.4 Logging protocol
3.5 Extended log protocol log
4. Error code protocol
4.1 Functions of error codes
4.2 Error code protocol
5 , exception handling and log comprehensive practice