Add new exception type, and use it.
Update JDK ambiguity test.