When working on ehcache/ehcache3#1710 we simplified the lifecycle between client and server by moving bits of configuration into the entity creation. However, we had to do some configuration tricks between the entity and the corresponding state service as we cannot fail service retrieval, there is not supported exception path.
Could we consider adding a ServiceCreationException or similar when a ServiceProvider knows that the configuration cannot be honoured?
When working on ehcache/ehcache3#1710 we simplified the lifecycle between client and server by moving bits of configuration into the entity creation. However, we had to do some configuration tricks between the entity and the corresponding state service as we cannot fail service retrieval, there is not supported exception path.
Could we consider adding a
ServiceCreationExceptionor similar when aServiceProviderknows that the configuration cannot be honoured?