Small fixes to the example.
Correct Exception class.