object Test extends Application { def foo() = { while (true) { try { } catch { case ex: Exception => } } } }