Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 115 for throwAsUncheckedException (0.57 sec)

  1. platforms/core-runtime/build-state/src/main/java/org/gradle/internal/buildprocess/execution/BuildSessionLifecycleBuildActionExecutor.java

                    // whereas console failure logging based on the _thrown exception_ happens up outside session scope. It would be better to refactor so that a result can be returned from here
                    throw UncheckedException.throwAsUncheckedException(t);
                } else {
                    // Created a result which may contain failures. Combine this failure with any failures that happen to be packaged in the result
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/exec/BuildTreeLifecycleBuildActionExecutor.java

                    // whereas console failure logging based on the _thrown exception_ happens up outside session scope. It would be better to refactor so that a result can be returned from here
                    throw UncheckedException.throwAsUncheckedException(t);
                } else {
                    // Cleanup has failed, combine the cleanup failure with other failures that may be packed in the result
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/clientinput/DaemonClientInputForwarder.java

                        nread = reader.read(buffer);
                    } catch (IOException e) {
                        throw UncheckedException.throwAsUncheckedException(e);
                    }
                    if (nread < 0) {
                        maybeClosed();
                    } else {
                        String text = new String(buffer, 0, nread);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCacheCoordinator.java

                    crossProcessCacheAccess.open();
                    open = true;
                } catch (Throwable throwable) {
                    crossProcessCacheAccess.close();
                    throw UncheckedException.throwAsUncheckedException(throwable);
                }
            });
        }
    
        @Override
        public void cleanup() {
            if (cleanupAction != null) {
                if (cacheAccessWorker != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 01 12:21:15 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/BeanDynamicObject.java

                MISSING_METHOD_METHOD = MetaClassImpl.class.getDeclaredField("methodMissing");
                MISSING_METHOD_METHOD.setAccessible(true);
            } catch (Exception e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        public BeanDynamicObject(Object bean) {
            this(bean, null, true, true, StringToEnumTransformer.INSTANCE, StringToEnumTransformer.INSTANCE);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/daemon-services/src/main/java/org/gradle/api/internal/tasks/userinput/DefaultUserInputReader.java

                while (!finished && pending == null) {
                    try {
                        lock.wait();
                    } catch (InterruptedException e) {
                        throw UncheckedException.throwAsUncheckedException(e);
                    }
                }
                if (pending != null) {
                    UserInput result = pending;
                    pending = null;
                    return result;
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestClassProcessorFactory.java

                return (TestClassProcessor) constructor.newInstance(spec, idGenerator, actorFactory, clock);
            } catch (Exception e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/oldresult/TransientConfigurationResultsBuilder.java

    import org.gradle.internal.time.Timer;
    
    import java.io.IOException;
    import java.util.HashMap;
    import java.util.LinkedHashMap;
    import java.util.Map;
    
    import static org.gradle.internal.UncheckedException.throwAsUncheckedException;
    
    /**
     * Serializes the transient parts of the resolved configuration results.
     */
    public class TransientConfigurationResultsBuilder {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMaxNConcurrentRequestsThenRelease.java

                // Wait for a short while to check for unexpected requests
                try {
                    Thread.sleep(500);
                } catch (InterruptedException e) {
                    throw UncheckedException.throwAsUncheckedException(e);
                }
                doReleaseAction(handler, yetToBeReceived);
            });
        }
    
        abstract void doReleaseAction(BlockingHttpServer.BlockingHandler handler, int yetToBeReceived);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputCapturer.java

        }
    
        public String getOutputAsString() {
            try {
                return buffer.toString(outputEncoding);
            } catch (UnsupportedEncodingException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top