Fix typo and case in exception text

Cleaned up a typo in exception text after seeing it one too many times while coding.