First commit.
This commit is contained in:
12
snippets/java-mode/try
Normal file
12
snippets/java-mode/try
Normal file
@ -0,0 +1,12 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: try
|
||||
# key: try
|
||||
# uuid: try
|
||||
# condition: (not (sp-point-in-string-or-comment))
|
||||
# --
|
||||
try {
|
||||
`%`$0
|
||||
} catch (${1:Throwable} e) {
|
||||
${2:System.out.println("Error " + e.getMessage());
|
||||
e.printStackTrace();}
|
||||
}
|
Reference in New Issue
Block a user