code: static <T> void validateTenantConfigurationDataType(final TenantConfigurationKey configurationKey,
              final Class<T> propertyType) {
  
          if (!configurationKey.getDataType().isAssignableFrom(propertyType)) {
              throw new TenantConfigurationValidatorException(
                      String.format("Cannot parse the database value of type %s into the type %s.",
                              configurationKey.getDataType(), propertyType));
          }
      }
docs: Validates the data type of the tenant configuration. If it is possible to
  cast to the given data type.
  
  @param configurationKey
  the key
  @param propertyType
  the class