Catching exceptions produced by Swift (2)