Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ServiceLookupException (0.27 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceLookupException.java

    /**
     * Thrown when there is some failure locating a service.
     */
    @UsedByScanPlugin
    public class ServiceLookupException extends RuntimeException {
        public ServiceLookupException(String message) {
            super(message);
        }
    
        public ServiceLookupException(String message, Throwable cause) {
            super(message, cause);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/caching/ImplicitInputsCapturingInstantiator.java

            }
    
            @Override
            public <T> T get(Class<T> serviceType) throws UnknownServiceException, ServiceLookupException {
                return serviceRegistry.get(serviceType);
            }
    
            @Override
            public <T> List<T> getAll(Class<T> serviceType) throws ServiceLookupException {
                return serviceRegistry.getAll(serviceType);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 17 11:08:22 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceRegistry.java

         */
        @Override
        Object get(Type serviceType) throws UnknownServiceException, ServiceLookupException;
    
        /**
         * Locates the service of the given type, returning null if no such service.
         *
         * @param serviceType The service type.
         * @return The service instance. Returns {@code null} if no such service exists.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceLookup.java

         *
         * @param serviceType The service type.
         * @return The service instance. Returns {@code null} if no such service exists.
         * @throws ServiceLookupException On failure to lookup the specified service.
         */
        @Nullable
        Object find(Type serviceType) throws ServiceLookupException;
    
        /**
         * Locates the service of the given type, throwing an exception if no such service is located.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 17 11:08:22 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/isolated/IsolationSchemeTest.groovy

            injectedServices.find(SomeParams)
    
            then:
            def e = thrown(ServiceLookupException)
            e.message == "Cannot query the parameters of an instance of SomeAction that takes no parameters."
    
            when:
            injectedServices.get(SomeParams)
    
            then:
            def e2 = thrown(ServiceLookupException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 19:49:52 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/tasks/NodeExecutionContext.java

     */
    
    package org.gradle.api.internal.tasks;
    
    import org.gradle.api.NonNullApi;
    import org.gradle.internal.service.ServiceLookupException;
    
    @NonNullApi
    public interface NodeExecutionContext {
        /**
         * Locates the given execution service.
         */
        <T> T getService(Class<T> type) throws ServiceLookupException;
    
        /**
         * Whether this context is coming from an execution graph.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 07:17:14 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceLocator.java

            try {
                return findServiceImplementations(serviceType);
            } catch (ServiceLookupException e) {
                throw e;
            } catch (Exception e) {
                throw new ServiceLookupException(String.format("Could not determine implementation classes for service '%s'.", serviceType.getName()), e);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceCreationException.java

    package org.gradle.internal.service;
    
    import org.gradle.internal.exceptions.Contextual;
    
    /**
     * Thrown when a service instance cannot be created.
     */
    @Contextual
    public class ServiceCreationException extends ServiceLookupException {
        public ServiceCreationException(String message) {
            super(message);
        }
    
        public ServiceCreationException(String message, Throwable cause) {
            super(message, cause);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceValidationException.java

     * limitations under the License.
     */
    
    package org.gradle.internal.service;
    
    /**
     * Thrown when there is some validation problem with a service.
     */
    public class ServiceValidationException extends ServiceLookupException {
        public ServiceValidationException(String message) {
            super(message);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 888 bytes
    - Viewed (0)
Back to top