Functional way of handling an exception in Scala

Advertisements