removed return NO when throwing exception