code: public static List<ErrorMessage.Error> constraintViolationToValidationErrors(
              final ConstraintViolationException violation) {
          return Lists.transform(Lists.newArrayList(violation.getConstraintViolations()),
                  violation1 -> new ErrorMessage.Error(
                          Hashing.murmur3_32().hashUnencodedChars(violation1.getMessageTemplate()).toString(),
                          violation1.getMessage(),
                          null,
                          getViolationPath(violation1)
                  ));
      }
docs: Extract {@link ConstraintViolation constraint violations} from given exception and transform them into a list of
  {@link ValidationError validation errors}.
  
  @param violation exception containing constraint violations.
  @return list of validation errors (not {@code null}).