{ "node_id": "java-1d75534b02294c87ad0bbe42882cd5fc", "keywords": [ "异常", "错误", "try", "catch", "finally" ], "children": [ { "概念": { "keywords": [], "children": [], "node_id": "java-04f92fa0fa5049e2ab32dbab5d19d51e", "title": "概念" } }, { "捕获异常": { "keywords": [], "children": [ { "try块": { "keywords": [], "children": [], "node_id": "java-3b4d8e06f2f2474b961657a37b0370e6", "title": "try块" } }, { "异常处理程序": { "keywords": [], "children": [], "node_id": "java-874b803144524caa8102ca7750e7b4cd" } }, { "f?inally子句": { "keywords": [], "children": [], "node_id": "java-a6bc70bab1814c5e9a4442638b5fb3a6" } }, { "try-with-Resources语句": { "keywords": [], "children": [], "node_id": "java-a7deef22e308455a8f82f774578cf8c6" } }, { "分析堆栈轨迹元素": { "keywords": [], "children": [], "node_id": "java-348b03e2cf704f3d9117b5730a2c35a4" } } ], "node_id": "java-436372bdcd714f248a36c523ccf37af4", "title": "捕获异常" } }, { "创建自定义异常": { "keywords": [], "children": [], "node_id": "java-1e7380f1e8c54f1e912bdd8cb21e1d77" } }, { "异常说明": { "keywords": [], "children": [], "node_id": "java-028b4a4f45754281a55e611e3bac583a" } }, { "捕获所有异常": { "keywords": [], "children": [ { "栈轨迹": { "keywords": [], "children": [], "node_id": "java-d1c703f958794ebf818e288556056da7" } }, { "重新抛出异常": { "keywords": [], "children": [], "node_id": "java-c7b39e93387445bdab719ae1668a4a93" } }, { "异常链": { "keywords": [], "children": [], "node_id": "java-7613e54fb5dd4df5b5a852edbfbfaaa5" } } ], "node_id": "java-617b8b0c85294eedaa04e3646ca6cb67" } }, { "Java标准异常": { "keywords": [], "children": [ { "特例: RuntimeException(运行时异常)": { "keywords": [], "children": [], "node_id": "java-691553444dfa450db57bc8b5e50826c8" } } ], "node_id": "java-bcc14692e4c14eec864e363f999b9d51" } }, { "使用finally进行清理": { "keywords": [], "children": [ { "finally用来做什么": { "keywords": [], "children": [], "node_id": "java-35a3a8f11c2a475fb7fb13736452a19a" } }, { "在return中使用finally": { "keywords": [], "children": [], "node_id": "java-bdedb324193c4307a7314dab466960ae" } }, { "缺憾:异常丢失": { "keywords": [], "children": [], "node_id": "java-d779b96d2ef9421ba60e4f27808e769c" } } ], "node_id": "java-7d03424b4a99431ebe22b8b295ecb6ff" } }, { "构造器": { "keywords": [], "children": [ { "使用构造器执行初始化": { "keywords": [], "children": [], "node_id": "java-96e6e03df507484b89836c3828c9dfea" } }, { "构造器重载": { "keywords": [], "children": [], "node_id": "java-3b89522eac5f4fe89add9f13fad18d56" } } ], "node_id": "java-d5654a19501c48d59bb8193077815c46" } }, { "异常匹配": { "keywords": [], "children": [], "node_id": "java-c0520c69b8874f8dada37e55b858607a" } }, { "其他可选方式": { "keywords": [], "children": [ { "历史": { "keywords": [], "children": [], "node_id": "java-6671348d414240e590d152dd2e4e6769" } }, { "观点": { "keywords": [], "children": [], "node_id": "java-5a7ea594978d4b30a9fd25b6982820af" } }, { "把异常传递给控制台": { "keywords": [], "children": [], "node_id": "java-cbd912d461004dbe9774afad16c04cfc" } }, { "把“受检查异常”转换为“不受检查的异常”": { "keywords": [], "children": [], "node_id": "java-57c2e32d67094e4c832eba196c5f238d" } } ], "node_id": "java-9ec1b538ac3849b192d9f3f47ee68fc9" } }, { "异常使用指南": { "keywords": [], "children": [], "node_id": "java-e3c6185529e04d10aa03f5890b8d6ff4" } } ], "export": [ "exception.json", "using.json" ], "title": "通过异常处理错误" }