spring-data-commons
spring-data-commons copied to clipboard
Introduce convenience constructor to `MappingException` accepting an entity/property
Message creation for MappingException is subject to each place that raises an exception hence we don't have a consistent style how mapping exceptions report offending entities and properties. We should have some means to consistently generate the part which relates to the offending entity/property.