fixed exception naming error
Merge pull request #27 from keeran/master

Fixed an incorrect exception raise