fixed typo

The error message is spelled correctly now and also prints the value passed as parameter to the exception message