blob: f146a20f6e44e654acf747e42ddcf8b52ba7c7ed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#Author : Jonas Bonèr <jonas@jonasboner.com>
#name : try { .. } catch { case e => ..} finally { ..}
# --
try {
$0
} catch {
case ${1:e}: ${2:Exception} =>
${1:println(\"ERROR: \" + e) // TODO: handle exception}\n}
} finally {
}
|