Allow subtypes of Exception to be raised