my-emacs-d/elpa/yasnippet-20161022.646/snippets/java-mode/try

12 lines
181 B
Plaintext
Raw Normal View History

# -*- mode: snippet -*-
# name: try
# key: try
# --
try {
$0
}
catch (${1:Throwable e}) {
${2:System.out.println("Error " + e.getMessage());
e.printStackTrace();}
}