I mean scala.util.Try. The apply function will catch the throwable, so you can get rid of the catch.