static void checkValidReadConcern(final Connection connection, final ReadConcern readConcern) {
   if (!serverIsAtLeastVersionThreeDotTwo(connection.getDescription())
       && !readConcern.isServerDefault()) {
     throw new IllegalArgumentException(
         format(
             "ReadConcern not supported by server version: %s",
             connection.getDescription().getServerVersion()));
   }
 }
 static void checkValidReadConcern(
     final AsyncConnection connection,
     final ReadConcern readConcern,
     final AsyncCallableWithConnection callable) {
   Throwable throwable = null;
   if (!serverIsAtLeastVersionThreeDotTwo(connection.getDescription())
       && !readConcern.isServerDefault()) {
     throwable =
         new IllegalArgumentException(
             format(
                 "ReadConcern not supported by server version: %s",
                 connection.getDescription().getServerVersion()));
   }
   callable.call(connection, throwable);
 }