config.json 6.4 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
      }
    },
    {
      "捕获异常": {
        "keywords": [],
M
Mars Liu 已提交
24
        "children": [],
M
Mars Liu 已提交
25
        "node_id": "java-a2f7a14e5a2743e297ae25d808b6a5aa",
L
luxin 已提交
26 27 28
        "title": "捕获异常",
        "keywords_must": [],
        "keywords_forbid": []
M
Mars Liu 已提交
29 30 31 32 33 34
      }
    },
    {
      "创建自定义异常": {
        "keywords": [],
        "children": [],
L
luxin 已提交
35 36 37
        "node_id": "java-c2463f0ab5784161a9b3c086ca8f31ff",
        "keywords_must": [],
        "keywords_forbid": []
M
Mars Liu 已提交
38 39 40 41 42 43
      }
    },
    {
      "异常说明": {
        "keywords": [],
        "children": [],
L
luxin 已提交
44 45 46
        "node_id": "java-c3aea15c0f494a078ffd747a1f3dd271",
        "keywords_must": [],
        "keywords_forbid": []
M
Mars Liu 已提交
47 48 49 50 51 52 53 54 55 56
      }
    },
    {
      "捕获所有异常": {
        "keywords": [],
        "children": [
          {
            "栈轨迹": {
              "keywords": [],
              "children": [],
L
luxin 已提交
57 58 59
              "node_id": "java-9741356278ec4ecda2af9baddde74e01",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
60 61 62 63 64 65
            }
          },
          {
            "重新抛出异常": {
              "keywords": [],
              "children": [],
L
luxin 已提交
66 67 68
              "node_id": "java-81f1f5af115648338a8ea8d11f2c0ec1",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
69 70 71 72 73 74
            }
          },
          {
            "异常链": {
              "keywords": [],
              "children": [],
L
luxin 已提交
75 76 77
              "node_id": "java-dc3ceecd4a0943dcb4e1e18d0e6131ca",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
78 79 80
            }
          }
        ],
L
luxin 已提交
81 82 83
        "node_id": "java-e821208680094805a93e1e6f46bca86d",
        "keywords_must": [],
        "keywords_forbid": []
M
Mars Liu 已提交
84 85 86 87 88 89 90 91 92 93
      }
    },
    {
      "Java标准异常": {
        "keywords": [],
        "children": [
          {
            "特例: RuntimeException(运行时异常)": {
              "keywords": [],
              "children": [],
L
luxin 已提交
94 95 96
              "node_id": "java-27967b17e29d4855907f199a4172fe9e",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
97 98 99
            }
          }
        ],
L
luxin 已提交
100 101 102
        "node_id": "java-cce481b5ed99444e8205d59de0c80d55",
        "keywords_must": [],
        "keywords_forbid": []
M
Mars Liu 已提交
103 104 105 106 107 108 109 110 111 112
      }
    },
    {
      "使用finally进行清理": {
        "keywords": [],
        "children": [
          {
            "finally用来做什么": {
              "keywords": [],
              "children": [],
L
luxin 已提交
113 114 115
              "node_id": "java-1d8dfbe207ab4ee289783363fabb2eef",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
116 117 118 119 120 121
            }
          },
          {
            "在return中使用finally": {
              "keywords": [],
              "children": [],
L
luxin 已提交
122 123 124
              "node_id": "java-2185abe1d4d947e09953dd9c0b690a30",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
125 126 127 128 129 130
            }
          },
          {
            "缺憾:异常丢失": {
              "keywords": [],
              "children": [],
L
luxin 已提交
131 132 133
              "node_id": "java-5c49dbfd363c4a6da7c3f8b7f4f8e6e3",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
134 135 136
            }
          }
        ],
L
luxin 已提交
137 138 139
        "node_id": "java-8cb3b3570df04f34a49497691839c64a",
        "keywords_must": [],
        "keywords_forbid": []
M
Mars Liu 已提交
140 141 142 143 144 145 146 147 148 149
      }
    },
    {
      "构造器": {
        "keywords": [],
        "children": [
          {
            "使用构造器执行初始化": {
              "keywords": [],
              "children": [],
L
luxin 已提交
150 151 152
              "node_id": "java-f1f617dafd7c4cff9fa6ab53a8c4a24f",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
153 154 155 156 157 158
            }
          },
          {
            "构造器重载": {
              "keywords": [],
              "children": [],
L
luxin 已提交
159 160 161
              "node_id": "java-6774bbb97e27423090f2446f14f370b5",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
162 163 164
            }
          }
        ],
L
luxin 已提交
165 166 167
        "node_id": "java-0b5559794c0d42f6b323e0db663d4e20",
        "keywords_must": [],
        "keywords_forbid": []
M
Mars Liu 已提交
168 169 170 171 172 173
      }
    },
    {
      "异常匹配": {
        "keywords": [],
        "children": [],
L
luxin 已提交
174 175 176
        "node_id": "java-54a2a15979ac4d5db7813bb86d9d3ba4",
        "keywords_must": [],
        "keywords_forbid": []
M
Mars Liu 已提交
177 178 179 180 181 182 183 184 185 186
      }
    },
    {
      "其他可选方式": {
        "keywords": [],
        "children": [
          {
            "历史": {
              "keywords": [],
              "children": [],
L
luxin 已提交
187 188 189
              "node_id": "java-9fd5d926c8714cb8b533735e2516af3b",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
190 191 192 193 194 195
            }
          },
          {
            "观点": {
              "keywords": [],
              "children": [],
L
luxin 已提交
196 197 198
              "node_id": "java-8adfa2512354498fa87e1272412372a1",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
199 200 201 202 203 204
            }
          },
          {
            "把异常传递给控制台": {
              "keywords": [],
              "children": [],
L
luxin 已提交
205 206 207
              "node_id": "java-c977e83a138c492197e596c052f61901",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
208 209 210 211 212 213
            }
          },
          {
            "把“受检查异常”转换为“不受检查的异常”": {
              "keywords": [],
              "children": [],
L
luxin 已提交
214 215 216
              "node_id": "java-b8e0c52eb6734b78b5903d46f7ed8b8d",
              "keywords_must": [],
              "keywords_forbid": []
M
Mars Liu 已提交
217 218 219
            }
          }
        ],
L
luxin 已提交
220 221 222
        "node_id": "java-fcc8f860a91547a69eb95aa905a36e11",
        "keywords_must": [],
        "keywords_forbid": []
M
Mars Liu 已提交
223 224 225 226 227 228
      }
    },
    {
      "异常使用指南": {
        "keywords": [],
        "children": [],
L
luxin 已提交
229 230 231
        "node_id": "java-db2eed2dbf644d468f2b83cd15f736d2",
        "keywords_must": [],
        "keywords_forbid": []
M
Mars Liu 已提交
232 233 234
      }
    }
  ],
M
Mars Liu 已提交
235 236
  "export": [
    "exception.json",
237 238
    "using.json",
    "runtime_exception.json",
239 240
    "checked_exception.json",
    "with_resources.json"
M
Mars Liu 已提交
241
  ],
L
luxin 已提交
242 243 244 245 246 247 248 249
  "title": "通过异常处理错误",
  "keywords_must": [
    "异常",
    "try",
    "catch",
    "finally"
  ],
  "keywords_forbid": []
M
Mars Liu 已提交
250
}