Don't use removed .exception attribute (Fixes #20)

See #20 for details.