{ "node_id": "java-d11b7f01004c443ea6226d174ba1e3fa", "keywords": [], "children": [ { "概念": { "keywords": [], "children": [], "node_id": "java-74dba10624904700bca41dd2cfab0d17", "title": "概念" } }, { "捕获异常": { "keywords": [], "children": [ { "try块": { "keywords": [], "children": [], "node_id": "569d5e11c4fc5de7844053d9a733c5e8", "title": "try块" } }, { "异常处理程序": { "keywords": [], "children": [], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } }, { "f?inally子句": { "keywords": [], "children": [], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } }, { "try-with-Resources语句": { "keywords": [], "children": [], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } }, { "分析堆栈轨迹元素": { "keywords": [], "children": [], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } } ], "node_id": "569d5e11c4fc5de7844053d9a733c5e8", "title": "捕获异常" } }, { "创建自定义异常": { "keywords": [], "children": [], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } }, { "异常说明": { "keywords": [], "children": [], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } }, { "捕获所有异常": { "keywords": [], "children": [ { "栈轨迹": { "keywords": [], "children": [], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } }, { "重新抛出异常": { "keywords": [], "children": [], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } }, { "异常链": { "keywords": [], "children": [], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } } ], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } }, { "Java标准异常": { "keywords": [], "children": [ { "特例: RuntimeException(运行时异常)": { "keywords": [], "children": [], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } } ], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } }, { "使用finally进行清理": { "keywords": [], "children": [ { "finally用来做什么": { "keywords": [], "children": [], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } }, { "在return中使用finally": { "keywords": [], "children": [], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } }, { "缺憾:异常丢失": { "keywords": [], "children": [], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } } ], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } }, { "构造器": { "keywords": [], "children": [ { "使用构造器执行初始化": { "keywords": [], "children": [], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } }, { "构造器重载": { "keywords": [], "children": [], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } } ], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } }, { "异常匹配": { "keywords": [], "children": [], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } }, { "其他可选方式": { "keywords": [], "children": [ { "历史": { "keywords": [], "children": [], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } }, { "观点": { "keywords": [], "children": [], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } }, { "把异常传递给控制台": { "keywords": [], "children": [], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } }, { "把“受检查异常”转换为“不受检查的异常”": { "keywords": [], "children": [], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } } ], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } }, { "异常使用指南": { "keywords": [], "children": [], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } } ], "export": ["exception.json", "using.json"], "title": "通过异常处理错误" }