mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
Catch Throwable user editable
This commit is contained in:
parent
7d30396d0c
commit
f0b51ea9ad
|
@ -254,10 +254,8 @@
|
|||
"body": [
|
||||
"try {",
|
||||
"\t${1://code...}",
|
||||
"} catch (\\Throwable \\$$t) {",
|
||||
"\t${2://throw $$t;}",
|
||||
"} catch (\\Exception \\$$e) {",
|
||||
"\t${2://throw $$e;}",
|
||||
"} catch (${2:\\Throwable} ${3:$$t}) {",
|
||||
"\t${4://throw $$th;}",
|
||||
"}"
|
||||
],
|
||||
"description": "Try catch block"
|
||||
|
|
Loading…
Reference in a new issue