``else`` is not needed since the previous if throws an exception