I would use a ``ConstraintDefinitionException`` here instead, as it is an issue in your constraint mapping