Improve selection error messages (use exceptions)