my-emacs-d/elpa/yasnippet-20160924.2001/snippets/java-mode/try
2016-10-20 10:27:10 +02:00

12 lines
181 B
Plaintext

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