Corrected the type of the object param
Merge pull request #149 from GrahamCampbell/exception-doc

Corrected the type of the object param