misd-service-development/phone-number-bundle — pull request #21 by thewilkybarkid (2014-10-23 08:28:29+00:00)
Title: Throw exceptions in the Doctrine type

Fixes #18 by throwing exceptions in the Doctrine type.

I've reused `ConversionException` in `convertToDatabaseValue()` as [others appear to be doing that](https://github.com/ramsey/uuid/blob/master/src/Doctrine/UuidType.php), though I have changed the message so that it makes sense.