catch two expections