Use raise (not throw) for errors
Merge pull request #28 from daniels/raise_dont_throw

Use raise (not throw) for errors