fix method names in exception
Merge pull request #1182 from nashby/fix-method-names

fix method names in exception