Harmonizing description of runtime exceptions and compiler errors

* "throws a runtime exception"
* "fails to compile"