changed an exception to be consistent with other ones (and also to better help debugging problems)