Fix example by making the exception inherit from Exception.
Fix example by making the exception inherit from Exception.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator