{ "node_id": "java-1ee4794ed59f4680b5cd801ced6e26f0", "keywords": [ "异常", "错误", "try", "catch", "finally" ], "children": [ { "概念": { "keywords": [], "children": [], "node_id": "java-22d139aee4b640beaff3f5f983c9f4e8", "title": "概念" } }, { "捕获异常": { "keywords": [], "children": [ { "try块": { "keywords": [], "children": [], "node_id": "java-9483eeb4d68842488b3acbc8c9764322", "title": "try块" } }, { "异常处理程序": { "keywords": [], "children": [], "node_id": "java-34829a03d7b041198477e09029c37f49" } }, { "f?inally子句": { "keywords": [], "children": [], "node_id": "java-27871ba11aeb4aefa542e4ac87620018" } }, { "try-with-Resources语句": { "keywords": [], "children": [], "node_id": "java-20c0416fd93848d182e67ffa2cc67e35" } }, { "分析堆栈轨迹元素": { "keywords": [], "children": [], "node_id": "java-fc4ca42328554153846c7ac13704d030" } } ], "node_id": "java-a2f7a14e5a2743e297ae25d808b6a5aa", "title": "捕获异常" } }, { "创建自定义异常": { "keywords": [], "children": [], "node_id": "java-c2463f0ab5784161a9b3c086ca8f31ff" } }, { "异常说明": { "keywords": [], "children": [], "node_id": "java-c3aea15c0f494a078ffd747a1f3dd271" } }, { "捕获所有异常": { "keywords": [], "children": [ { "栈轨迹": { "keywords": [], "children": [], "node_id": "java-9741356278ec4ecda2af9baddde74e01" } }, { "重新抛出异常": { "keywords": [], "children": [], "node_id": "java-81f1f5af115648338a8ea8d11f2c0ec1" } }, { "异常链": { "keywords": [], "children": [], "node_id": "java-dc3ceecd4a0943dcb4e1e18d0e6131ca" } } ], "node_id": "java-e821208680094805a93e1e6f46bca86d" } }, { "Java标准异常": { "keywords": [], "children": [ { "特例: RuntimeException(运行时异常)": { "keywords": [], "children": [], "node_id": "java-27967b17e29d4855907f199a4172fe9e" } } ], "node_id": "java-cce481b5ed99444e8205d59de0c80d55" } }, { "使用finally进行清理": { "keywords": [], "children": [ { "finally用来做什么": { "keywords": [], "children": [], "node_id": "java-1d8dfbe207ab4ee289783363fabb2eef" } }, { "在return中使用finally": { "keywords": [], "children": [], "node_id": "java-2185abe1d4d947e09953dd9c0b690a30" } }, { "缺憾:异常丢失": { "keywords": [], "children": [], "node_id": "java-5c49dbfd363c4a6da7c3f8b7f4f8e6e3" } } ], "node_id": "java-8cb3b3570df04f34a49497691839c64a" } }, { "构造器": { "keywords": [], "children": [ { "使用构造器执行初始化": { "keywords": [], "children": [], "node_id": "java-f1f617dafd7c4cff9fa6ab53a8c4a24f" } }, { "构造器重载": { "keywords": [], "children": [], "node_id": "java-6774bbb97e27423090f2446f14f370b5" } } ], "node_id": "java-0b5559794c0d42f6b323e0db663d4e20" } }, { "异常匹配": { "keywords": [], "children": [], "node_id": "java-54a2a15979ac4d5db7813bb86d9d3ba4" } }, { "其他可选方式": { "keywords": [], "children": [ { "历史": { "keywords": [], "children": [], "node_id": "java-9fd5d926c8714cb8b533735e2516af3b" } }, { "观点": { "keywords": [], "children": [], "node_id": "java-8adfa2512354498fa87e1272412372a1" } }, { "把异常传递给控制台": { "keywords": [], "children": [], "node_id": "java-c977e83a138c492197e596c052f61901" } }, { "把“受检查异常”转换为“不受检查的异常”": { "keywords": [], "children": [], "node_id": "java-b8e0c52eb6734b78b5903d46f7ed8b8d" } } ], "node_id": "java-fcc8f860a91547a69eb95aa905a36e11" } }, { "异常使用指南": { "keywords": [], "children": [], "node_id": "java-db2eed2dbf644d468f2b83cd15f736d2" } } ], "export": [ "exception.json", "using.json", "runtime_exception.json", "checked_exception.json", "with_resources.json" ], "title": "通过异常处理错误" }