mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-21 18:59:15 +00:00
Catch Throwable user editable
This commit is contained in:
@@ -254,10 +254,8 @@
|
|||||||
"body": [
|
"body": [
|
||||||
"try {",
|
"try {",
|
||||||
"\t${1://code...}",
|
"\t${1://code...}",
|
||||||
"} catch (\\Throwable \\$$t) {",
|
"} catch (${2:\\Throwable} ${3:$$t}) {",
|
||||||
"\t${2://throw $$t;}",
|
"\t${4://throw $$th;}",
|
||||||
"} catch (\\Exception \\$$e) {",
|
|
||||||
"\t${2://throw $$e;}",
|
|
||||||
"}"
|
"}"
|
||||||
],
|
],
|
||||||
"description": "Try catch block"
|
"description": "Try catch block"
|
||||||
|
|||||||
Reference in New Issue
Block a user