Remove unneccessary throw clauses