Empty catch block seems to be invalid in Scala
try { func() } catch { } // error: illegal start of simple expression
How I can catch all
Just for a sake of completeness, there is a set of built-in methods in Exception, including silently catching exceptions. See Using scala.util.control.Exception for details on usage.