confi-emacs-actual/snippets/java-mode/try
2022-03-29 19:21:13 -04:00

12 lines
246 B
Plaintext

# -*- 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();}
}