11 lines
190 B
Plaintext
11 lines
190 B
Plaintext
# -*- mode: snippet -*-
|
|
#Author : Sam Halliday
|
|
#name : try { .. } catch { case e => ..}
|
|
# key: try
|
|
# --
|
|
try {
|
|
$0
|
|
} catch {
|
|
case e: ${1:Throwable} =>
|
|
${2:// TODO: handle exception}
|
|
} |