Throw exceptions on failure
Merge pull request #21 from thewilkybarkid/doctrine-exception

Throw exceptions in the Doctrine type
Merge remote-tracking branch 'upstream/master'