This is highly not recommended. use scala.util.control.NonFatal