Update misspelled exception code

Bugfix for issue #8