throw new IllegalArgumentException("Transactions are set on but the service does not provide transactions");
} else if (transactional.getConfiguration(generalConfiguration.cacheName) == Transactional.Configuration.NON_TRANSACTIONAL) {
throw new IllegalArgumentException("Transactions are set on but the cache is not configured as transactional");
}
}
CacheInformation cacheInformation = slaveState.getTrait(CacheInformation.class);
cacheInfo = cacheInformation == null ? null : cacheInformation.getCache(generalConfiguration.cacheName);
}