config.json 5.5 KB
Newer Older
M
Mars Liu 已提交
1
{
M
Mars Liu 已提交
2 3 4 5 6 7 8 9
  "node_id": "java-cd80c24d159e4e20abb460d96505c6ce",
  "keywords": [
    "异常",
    "错误",
    "try",
    "catch",
    "finally"
  ],
M
Mars Liu 已提交
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223
  "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"
      }
    }
  ],
M
Mars Liu 已提交
224 225 226 227
  "export": [
    "exception.json",
    "using.json"
  ],
M
Mars Liu 已提交
228 229
  "title": "通过异常处理错误"
}