An incorrect exception was being raised. Improved nomenclature.