docs: public Cache<K, V> createCache(Configuration configuration, GlobalComponentRegistry globalComponentRegistry,
                                    String cacheName) throws CacheConfigurationException {
        try {
           if (configuration.compatibility().enabled()) {
              log.warnCompatibilityDeprecated(cacheName);
           }
           if (configuration.simpleCache()) {
              return createSimpleCache(configuration, globalComponentRegistry, cacheName);
           } else {
              return createAndWire(configuration, globalComponentRegistry, cacheName);
           }
        } catch (RuntimeException re) {
           throw re;
        } catch (Exception e) {
           throw new RuntimeException(e);
        }
     }