Skip to content

Instantly share code, notes, and snippets.

@stasimus
Created June 7, 2012 10:55
Show Gist options
  • Save stasimus/2888198 to your computer and use it in GitHub Desktop.
Save stasimus/2888198 to your computer and use it in GitHub Desktop.
Tracing around call, catching exceptions
class TestClass {
def func(inFunc: => Unit) {
println("Before")
try { inFunc }
catch { case _ => }
println("After")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment