Throw Exceptions for easier migration
Merge pull request #167 from wmde/exceptions

Throw Exceptions for easier migration