simplify exceptions