Replace 'die' by 'throw'.
Merge pull request #3 from wtertius/replace_die_by_throw

Replace 'die' by 'throw'.