config.json 5.6 KB
Newer Older
M
Mars Liu 已提交
1
{
2
  "node_id": "java-1d75534b02294c87ad0bbe42882cd5fc",
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": [],
15
        "node_id": "java-04f92fa0fa5049e2ab32dbab5d19d51e",
M
Mars Liu 已提交
16 17 18 19 20 21 22 23 24 25 26
        "title": "概念"
      }
    },
    {
      "捕获异常": {
        "keywords": [],
        "children": [
          {
            "try块": {
              "keywords": [],
              "children": [],
27
              "node_id": "java-3b4d8e06f2f2474b961657a37b0370e6",
M
Mars Liu 已提交
28 29 30 31 32 33 34
              "title": "try块"
            }
          },
          {
            "异常处理程序": {
              "keywords": [],
              "children": [],
35
              "node_id": "java-874b803144524caa8102ca7750e7b4cd"
M
Mars Liu 已提交
36 37 38 39 40 41
            }
          },
          {
            "f?inally子句": {
              "keywords": [],
              "children": [],
42
              "node_id": "java-a6bc70bab1814c5e9a4442638b5fb3a6"
M
Mars Liu 已提交
43 44 45 46 47 48
            }
          },
          {
            "try-with-Resources语句": {
              "keywords": [],
              "children": [],
49
              "node_id": "java-a7deef22e308455a8f82f774578cf8c6"
M
Mars Liu 已提交
50 51 52 53 54 55
            }
          },
          {
            "分析堆栈轨迹元素": {
              "keywords": [],
              "children": [],
56
              "node_id": "java-348b03e2cf704f3d9117b5730a2c35a4"
M
Mars Liu 已提交
57 58 59
            }
          }
        ],
60
        "node_id": "java-436372bdcd714f248a36c523ccf37af4",
M
Mars Liu 已提交
61 62 63 64 65 66 67
        "title": "捕获异常"
      }
    },
    {
      "创建自定义异常": {
        "keywords": [],
        "children": [],
68
        "node_id": "java-1e7380f1e8c54f1e912bdd8cb21e1d77"
M
Mars Liu 已提交
69 70 71 72 73 74
      }
    },
    {
      "异常说明": {
        "keywords": [],
        "children": [],
75
        "node_id": "java-028b4a4f45754281a55e611e3bac583a"
M
Mars Liu 已提交
76 77 78 79 80 81 82 83 84 85
      }
    },
    {
      "捕获所有异常": {
        "keywords": [],
        "children": [
          {
            "栈轨迹": {
              "keywords": [],
              "children": [],
86
              "node_id": "java-d1c703f958794ebf818e288556056da7"
M
Mars Liu 已提交
87 88 89 90 91 92
            }
          },
          {
            "重新抛出异常": {
              "keywords": [],
              "children": [],
93
              "node_id": "java-c7b39e93387445bdab719ae1668a4a93"
M
Mars Liu 已提交
94 95 96 97 98 99
            }
          },
          {
            "异常链": {
              "keywords": [],
              "children": [],
100
              "node_id": "java-7613e54fb5dd4df5b5a852edbfbfaaa5"
M
Mars Liu 已提交
101 102 103
            }
          }
        ],
104
        "node_id": "java-617b8b0c85294eedaa04e3646ca6cb67"
M
Mars Liu 已提交
105 106 107 108 109 110 111 112 113 114
      }
    },
    {
      "Java标准异常": {
        "keywords": [],
        "children": [
          {
            "特例: RuntimeException(运行时异常)": {
              "keywords": [],
              "children": [],
115
              "node_id": "java-691553444dfa450db57bc8b5e50826c8"
M
Mars Liu 已提交
116 117 118
            }
          }
        ],
119
        "node_id": "java-bcc14692e4c14eec864e363f999b9d51"
M
Mars Liu 已提交
120 121 122 123 124 125 126 127 128 129
      }
    },
    {
      "使用finally进行清理": {
        "keywords": [],
        "children": [
          {
            "finally用来做什么": {
              "keywords": [],
              "children": [],
130
              "node_id": "java-35a3a8f11c2a475fb7fb13736452a19a"
M
Mars Liu 已提交
131 132 133 134 135 136
            }
          },
          {
            "在return中使用finally": {
              "keywords": [],
              "children": [],
137
              "node_id": "java-bdedb324193c4307a7314dab466960ae"
M
Mars Liu 已提交
138 139 140 141 142 143
            }
          },
          {
            "缺憾:异常丢失": {
              "keywords": [],
              "children": [],
144
              "node_id": "java-d779b96d2ef9421ba60e4f27808e769c"
M
Mars Liu 已提交
145 146 147
            }
          }
        ],
148
        "node_id": "java-7d03424b4a99431ebe22b8b295ecb6ff"
M
Mars Liu 已提交
149 150 151 152 153 154 155 156 157 158
      }
    },
    {
      "构造器": {
        "keywords": [],
        "children": [
          {
            "使用构造器执行初始化": {
              "keywords": [],
              "children": [],
159
              "node_id": "java-96e6e03df507484b89836c3828c9dfea"
M
Mars Liu 已提交
160 161 162 163 164 165
            }
          },
          {
            "构造器重载": {
              "keywords": [],
              "children": [],
166
              "node_id": "java-3b89522eac5f4fe89add9f13fad18d56"
M
Mars Liu 已提交
167 168 169
            }
          }
        ],
170
        "node_id": "java-d5654a19501c48d59bb8193077815c46"
M
Mars Liu 已提交
171 172 173 174 175 176
      }
    },
    {
      "异常匹配": {
        "keywords": [],
        "children": [],
177
        "node_id": "java-c0520c69b8874f8dada37e55b858607a"
M
Mars Liu 已提交
178 179 180 181 182 183 184 185 186 187
      }
    },
    {
      "其他可选方式": {
        "keywords": [],
        "children": [
          {
            "历史": {
              "keywords": [],
              "children": [],
188
              "node_id": "java-6671348d414240e590d152dd2e4e6769"
M
Mars Liu 已提交
189 190 191 192 193 194
            }
          },
          {
            "观点": {
              "keywords": [],
              "children": [],
195
              "node_id": "java-5a7ea594978d4b30a9fd25b6982820af"
M
Mars Liu 已提交
196 197 198 199 200 201
            }
          },
          {
            "把异常传递给控制台": {
              "keywords": [],
              "children": [],
202
              "node_id": "java-cbd912d461004dbe9774afad16c04cfc"
M
Mars Liu 已提交
203 204 205 206 207 208
            }
          },
          {
            "把“受检查异常”转换为“不受检查的异常”": {
              "keywords": [],
              "children": [],
209
              "node_id": "java-57c2e32d67094e4c832eba196c5f238d"
M
Mars Liu 已提交
210 211 212
            }
          }
        ],
213
        "node_id": "java-9ec1b538ac3849b192d9f3f47ee68fc9"
M
Mars Liu 已提交
214 215 216 217 218 219
      }
    },
    {
      "异常使用指南": {
        "keywords": [],
        "children": [],
220
        "node_id": "java-e3c6185529e04d10aa03f5890b8d6ff4"
M
Mars Liu 已提交
221 222 223
      }
    }
  ],
M
Mars Liu 已提交
224 225 226 227
  "export": [
    "exception.json",
    "using.json"
  ],
M
Mars Liu 已提交
228 229
  "title": "通过异常处理错误"
}