When raising exceptions, always passing an exception class.
bumped version to 0.1.6
Merge pull request #4 from xiazek/master

When raising exceptions, always passing an exception class.