Raise exception for invalid selector name.
Raise exception for invalid selector name.