@Override
  public <T> Codec<T> get(Class<T> clazz, CodecRegistry registry) {
    try {
      return delegate.get(clazz);
    } catch (CodecConfigurationException e) {
      return null;
    }
  }
To preserve compatibility returns {@code null} on {@linkplain CodecConfigurationException}
criteria/mongo/src/org/immutables/criteria/mongo/bson4jackson/LegacyCodecAdapter.java