config.json 7.7 KB
Newer Older
M
Mars Liu 已提交
1
{
M
Mars Liu 已提交
2
  "node_id": "java-1ee4794ed59f4680b5cd801ced6e26f0",
M
Mars Liu 已提交
3 4 5 6 7 8 9
  "keywords": [
    "异常",
    "错误",
    "try",
    "catch",
    "finally"
  ],
M
Mars Liu 已提交
10 11 12 13 14
  "children": [
    {
      "概念": {
        "keywords": [],
        "children": [],
M
Mars Liu 已提交
15
        "node_id": "java-22d139aee4b640beaff3f5f983c9f4e8",
L
luxin 已提交
16 17 18
        "title": "概念",
        "keywords_must": [],
        "keywords_forbid": []
M
Mars Liu 已提交
19 20 21 22 23 24 25 26 27 28
      }
    },
    {
      "捕获异常": {
        "keywords": [],
        "children": [
          {
            "try块": {
              "keywords": [],
              "children": [],
M
Mars Liu 已提交
29
              "node_id": "java-9483eeb4d68842488b3acbc8c9764322",
L
luxin 已提交
30 31 32
              "title": "try块",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
33 34 35 36 37 38
            }
          },
          {
            "异常处理程序": {
              "keywords": [],
              "children": [],
L
luxin 已提交
39 40 41
              "node_id": "java-34829a03d7b041198477e09029c37f49",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
42 43 44 45 46 47
            }
          },
          {
            "f?inally子句": {
              "keywords": [],
              "children": [],
L
luxin 已提交
48 49 50
              "node_id": "java-27871ba11aeb4aefa542e4ac87620018",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
51 52 53 54 55 56
            }
          },
          {
            "try-with-Resources语句": {
              "keywords": [],
              "children": [],
L
luxin 已提交
57 58 59
              "node_id": "java-20c0416fd93848d182e67ffa2cc67e35",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
60 61 62 63 64 65
            }
          },
          {
            "分析堆栈轨迹元素": {
              "keywords": [],
              "children": [],
L
luxin 已提交
66 67 68
              "node_id": "java-fc4ca42328554153846c7ac13704d030",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
69 70 71
            }
          }
        ],
M
Mars Liu 已提交
72
        "node_id": "java-a2f7a14e5a2743e297ae25d808b6a5aa",
L
luxin 已提交
73 74 75
        "title": "捕获异常",
        "keywords_must": [],
        "keywords_forbid": []
M
Mars Liu 已提交
76 77 78 79 80 81
      }
    },
    {
      "创建自定义异常": {
        "keywords": [],
        "children": [],
L
luxin 已提交
82 83 84
        "node_id": "java-c2463f0ab5784161a9b3c086ca8f31ff",
        "keywords_must": [],
        "keywords_forbid": []
M
Mars Liu 已提交
85 86 87 88 89 90
      }
    },
    {
      "异常说明": {
        "keywords": [],
        "children": [],
L
luxin 已提交
91 92 93
        "node_id": "java-c3aea15c0f494a078ffd747a1f3dd271",
        "keywords_must": [],
        "keywords_forbid": []
M
Mars Liu 已提交
94 95 96 97 98 99 100 101 102 103
      }
    },
    {
      "捕获所有异常": {
        "keywords": [],
        "children": [
          {
            "栈轨迹": {
              "keywords": [],
              "children": [],
L
luxin 已提交
104 105 106
              "node_id": "java-9741356278ec4ecda2af9baddde74e01",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
107 108 109 110 111 112
            }
          },
          {
            "重新抛出异常": {
              "keywords": [],
              "children": [],
L
luxin 已提交
113 114 115
              "node_id": "java-81f1f5af115648338a8ea8d11f2c0ec1",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
116 117 118 119 120 121
            }
          },
          {
            "异常链": {
              "keywords": [],
              "children": [],
L
luxin 已提交
122 123 124
              "node_id": "java-dc3ceecd4a0943dcb4e1e18d0e6131ca",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
125 126 127
            }
          }
        ],
L
luxin 已提交
128 129 130
        "node_id": "java-e821208680094805a93e1e6f46bca86d",
        "keywords_must": [],
        "keywords_forbid": []
M
Mars Liu 已提交
131 132 133 134 135 136 137 138 139 140
      }
    },
    {
      "Java标准异常": {
        "keywords": [],
        "children": [
          {
            "特例: RuntimeException(运行时异常)": {
              "keywords": [],
              "children": [],
L
luxin 已提交
141 142 143
              "node_id": "java-27967b17e29d4855907f199a4172fe9e",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
144 145 146
            }
          }
        ],
L
luxin 已提交
147 148 149
        "node_id": "java-cce481b5ed99444e8205d59de0c80d55",
        "keywords_must": [],
        "keywords_forbid": []
M
Mars Liu 已提交
150 151 152 153 154 155 156 157 158 159
      }
    },
    {
      "使用finally进行清理": {
        "keywords": [],
        "children": [
          {
            "finally用来做什么": {
              "keywords": [],
              "children": [],
L
luxin 已提交
160 161 162
              "node_id": "java-1d8dfbe207ab4ee289783363fabb2eef",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
163 164 165 166 167 168
            }
          },
          {
            "在return中使用finally": {
              "keywords": [],
              "children": [],
L
luxin 已提交
169 170 171
              "node_id": "java-2185abe1d4d947e09953dd9c0b690a30",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
172 173 174 175 176 177
            }
          },
          {
            "缺憾:异常丢失": {
              "keywords": [],
              "children": [],
L
luxin 已提交
178 179 180
              "node_id": "java-5c49dbfd363c4a6da7c3f8b7f4f8e6e3",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
181 182 183
            }
          }
        ],
L
luxin 已提交
184 185 186
        "node_id": "java-8cb3b3570df04f34a49497691839c64a",
        "keywords_must": [],
        "keywords_forbid": []
M
Mars Liu 已提交
187 188 189 190 191 192 193 194 195 196
      }
    },
    {
      "构造器": {
        "keywords": [],
        "children": [
          {
            "使用构造器执行初始化": {
              "keywords": [],
              "children": [],
L
luxin 已提交
197 198 199
              "node_id": "java-f1f617dafd7c4cff9fa6ab53a8c4a24f",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
200 201 202 203 204 205
            }
          },
          {
            "构造器重载": {
              "keywords": [],
              "children": [],
L
luxin 已提交
206 207 208
              "node_id": "java-6774bbb97e27423090f2446f14f370b5",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
209 210 211
            }
          }
        ],
L
luxin 已提交
212 213 214
        "node_id": "java-0b5559794c0d42f6b323e0db663d4e20",
        "keywords_must": [],
        "keywords_forbid": []
M
Mars Liu 已提交
215 216 217 218 219 220
      }
    },
    {
      "异常匹配": {
        "keywords": [],
        "children": [],
L
luxin 已提交
221 222 223
        "node_id": "java-54a2a15979ac4d5db7813bb86d9d3ba4",
        "keywords_must": [],
        "keywords_forbid": []
M
Mars Liu 已提交
224 225 226 227 228 229 230 231 232 233
      }
    },
    {
      "其他可选方式": {
        "keywords": [],
        "children": [
          {
            "历史": {
              "keywords": [],
              "children": [],
L
luxin 已提交
234 235 236
              "node_id": "java-9fd5d926c8714cb8b533735e2516af3b",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
237 238 239 240 241 242
            }
          },
          {
            "观点": {
              "keywords": [],
              "children": [],
L
luxin 已提交
243 244 245
              "node_id": "java-8adfa2512354498fa87e1272412372a1",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
246 247 248 249 250 251
            }
          },
          {
            "把异常传递给控制台": {
              "keywords": [],
              "children": [],
L
luxin 已提交
252 253 254
              "node_id": "java-c977e83a138c492197e596c052f61901",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
255 256 257 258 259 260
            }
          },
          {
            "把“受检查异常”转换为“不受检查的异常”": {
              "keywords": [],
              "children": [],
L
luxin 已提交
261 262 263
              "node_id": "java-b8e0c52eb6734b78b5903d46f7ed8b8d",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
264 265 266
            }
          }
        ],
L
luxin 已提交
267 268 269
        "node_id": "java-fcc8f860a91547a69eb95aa905a36e11",
        "keywords_must": [],
        "keywords_forbid": []
M
Mars Liu 已提交
270 271 272 273 274 275
      }
    },
    {
      "异常使用指南": {
        "keywords": [],
        "children": [],
L
luxin 已提交
276 277 278
        "node_id": "java-db2eed2dbf644d468f2b83cd15f736d2",
        "keywords_must": [],
        "keywords_forbid": []
M
Mars Liu 已提交
279 280 281
      }
    }
  ],
M
Mars Liu 已提交
282 283
  "export": [
    "exception.json",
284 285
    "using.json",
    "runtime_exception.json",
286 287
    "checked_exception.json",
    "with_resources.json"
M
Mars Liu 已提交
288
  ],
L
luxin 已提交
289 290 291 292 293 294 295 296
  "title": "通过异常处理错误",
  "keywords_must": [
    "异常",
    "try",
    "catch",
    "finally"
  ],
  "keywords_forbid": []
M
Mars Liu 已提交
297
}