Fix temporary for exceptions >= 0.6
Merge pull request #12 from xich/master

Fix temporary for exceptions >= 0.6