Is it because an exception is thrown and caught?