used a more accurate (and specialized) exception in a handler