Throw exceptions instead of dying
Merge pull request #25 from mlocati/throw-exceptions-instead-of-dying

Throw exceptions instead of dying