Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 821 for throws (0.41 sec)

  1. android/guava/src/com/google/common/collect/Maps.java

       * @return a map mapping the result of evaluating the function {@code keyFunction} on each value
       *     in the input collection to that value
       * @throws IllegalArgumentException if {@code keyFunction} produces the same key for more than one
       *     value in the input collection
       * @throws NullPointerException if any element of {@code values} is {@code null}, or if {@code
       *     keyFunction} produces {@code null} for any value
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/conventions/ConventionsResolutionProcessor.kt

        val additions: List<DataAdditionRecord>,
        val nestedObjectAccess: List<NestedObjectAccessRecord>
    )
    
    
    /**
     * Searches an ObjectOrigin receiver hierarchy to find the parent software type or throws an error if a software type
     * is not in the hierarchy.
     */
    private
    fun getSoftwareType(objectOrigin: ObjectOrigin): ObjectOrigin.AccessAndConfigureReceiver =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractLineEndingSensitivityIntegrationSpec.groovy

                            unzipTo(zippedFile, unzipDir)
                        } catch (IOException e) {
                            throw UncheckedException.throwAsUncheckedException(e)
                        }
                    }
    
                    static void unzipTo(File inputZip, File unzipDir) throws IOException {
                        inputZip.withInputStream { stream ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/actor/internal/DefaultActorFactory.java

            @Override
            public void stop() throws DispatchException {
                synchronized (lock) {
                    stopped = true;
                }
                stopped(this);
            }
    
            @Override
            public void dispatch(MethodInvocation message) {
                synchronized (lock) {
                    if (stopped) {
                        throw new IllegalStateException("This actor has been stopped.");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/DefaultBuildControllerTest.groovy

            result.getModel() == model
        }
    
        def "throws an exception when cancel was requested"() {
            given:
            _ * workerThreadRegistry.workerThread >> true
            _ * cancellationToken.cancellationRequested >> true
            def target = Stub(GradleProjectIdentity)
    
            when:
            controller.getModel(target, modelId)
    
            then:
            thrown(BuildCancelledException)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:56:30 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/client-services/src/test/groovy/org/gradle/internal/daemon/client/serialization/ClasspathInfererTest.groovy

                super(classLoader, classpath)
            }
    
            @Override
            protected Class<?> findClass(String name) throws ClassNotFoundException {
                String resource = name.replace('.', '/') + '.class'
                URL url = findResource(resource)
                if (url == null) {
                    throw new ClassNotFoundException("Could not find class '${name}'")
                }
                def byteCode = url.bytes
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. platforms/extensibility/unit-test-fixtures/src/main/java/org/gradle/testfixtures/internal/TestInMemoryCacheFactory.java

        @Override
        public PersistentCache open(File cacheDir, String displayName, Map<String, ?> properties, LockOptions lockOptions, @Nullable Consumer<? super PersistentCache> initializer, @Nullable CacheCleanupStrategy cacheCleanupStrategy) throws CacheOpenException {
            GFileUtils.mkdirs(cacheDir);
            InMemoryCache cache = new InMemoryCache(cacheDir, displayName, cacheCleanupStrategy != null ? cacheCleanupStrategy.getCleanupAction() : null);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/classpath/ManifestUtilTest.groovy

            then:
            new File(classpathURI).absoluteFile == classpathFile.absoluteFile
        }
    
        private def createJar(def manifest = null) throws IOException {
            def jarOutputStream
    
            if (manifest == null) {
                jarOutputStream = new JarOutputStream(new FileOutputStream(jarFile))
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *       of a task are ignored.
       * </ol>
       *
       * <p>{@code RuntimeException}s thrown by tasks are simply logged and the executor keeps trucking.
       * If an {@code Error} is thrown, the error will propagate and execution will stop until the next
       * time a task is submitted.
       *
       * <p>When an {@code Error} is thrown by an executed task, previously submitted tasks may never
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 43.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       * throwing exceptions like {@link NoSuchElementException} at the appropriate times, it throws
       * {@link PermittedMetaException} instances, which wrap a set of all exceptions that the iterator
       * could throw during the invocation of that method. This is necessary because, e.g., a call to
       * {@code iterator().remove()} of an unmodifiable list could throw either {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top