Source

.emacs.d / vendor / yasnippet / snippets / scala-mode / try.catch-finally

Full commit
# Author: Jonas Bonèr <jonas@jonasboner.com>
# name: try { .. } catch { case e => ..} finally { ..}
# key: try
# --
try {
  $0
} catch {
  case ${1:e}: ${2:Exception} => 
    ${1:println(\"ERROR: \" + e) // TODO: handle exception}\n}
} finally {

}