- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ServiceValidationException (0.69 sec)
-
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceRegistry.java
throw new ServiceValidationException("Locating services with array type is not supported."); } if (serviceClass.isAnnotation()) { throw new ServiceValidationException("Locating services with annotation type is not supported."); } if (serviceClass == Object.class) { throw new ServiceValidationException("Locating services with type Object is not supported.");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 53.3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryTest.groovy
} def "does not support querying for Object.class"() { def registry = new DefaultServiceRegistry() when: registry.get(Object) then: ServiceValidationException e = thrown() e.message == "Locating services with type Object is not supported." } def createsInstanceOfServiceImplementation() { def registry = new DefaultServiceRegistry()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:53:25 UTC 2024 - 59.8K bytes - Viewed (0)