You should override the constructor and throw a `ConstraintDefinitionException` if both property and value are defined.