confi-emacs-actual/snippets/java-mode/try

12 lines
246 B
Plaintext
Raw Permalink Normal View History

2022-03-30 01:21:13 +02:00
# -*- 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();}
}