dotfiles/.emacs.d/snippets/java-mode/try

12 lines
181 B
Plaintext
Raw Normal View History

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