Fix error with calling the wrong Exception class.
Update version number to 1.0.1.