9 lines
170 B
Plaintext
9 lines
170 B
Plaintext
# -*- mode: snippet -*-
|
|
# name: try { ... } catch { case e => ... }
|
|
# --
|
|
try {
|
|
`%`$0
|
|
} catch {
|
|
case e: ${1:Throwable} =>
|
|
${2:// TODO: handle exception}
|
|
} |