Catching more generic exceptions.