Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 818 for throws (0.22 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       *
       * <p>The default {@link AbstractFuture} implementation throws {@code InterruptedException} if the
       * current thread is interrupted during the call, even if the value is already available.
       *
       * @throws CancellationException {@inheritDoc}
       */
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public V get(long timeout, TimeUnit unit)
          throws InterruptedException, TimeoutException, ExecutionException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (1)
  2. guava/src/com/google/common/util/concurrent/AbstractFuture.java

       *
       * <p>The default {@link AbstractFuture} implementation throws {@code InterruptedException} if the
       * current thread is interrupted during the call, even if the value is already available.
       *
       * @throws CancellationException {@inheritDoc}
       */
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public V get(long timeout, TimeUnit unit)
          throws InterruptedException, TimeoutException, ExecutionException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (1)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheStandardStreamsIntegrationTest.groovy

            $task
            """
    
            file("src/main/java/Main.java") << """
                import java.io.*;
    
                public class Main {
                    public static void main(String[] args) throws IOException {
                        String name;
                        if (args.length < 1) {
                            try (BufferedReader in = new BufferedReader(new InputStreamReader(System.in))) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. testing/public-api-tests/src/integTest/groovy/org/gradle/api/PublicApiIntegrationTest.groovy

                    private void createBuildFile(String content) throws IOException {
                        File buildFile = new File(testProjectDir, "build.gradle");
                        Files.write(buildFile.toPath(), content.getBytes());
                    }
    
                    @Test
                    public void testCustomTask() throws IOException {
                        createBuildFile("plugins { id 'org.example.test' }");
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 08:43:08 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

        /** Returns the value. Does not block or throw exceptions. */
        @CheckForNull
        V get();
    
        /**
         * Waits for a value that may still be loading. Unlike get(), this method can block (in the case
         * of FutureValueReference).
         *
         * @throws ExecutionException if the loading thread throws an exception
         * @throws ExecutionError if the loading thread throws an error
         */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/TestLauncherCrossVersionSpec.groovy

            }
    
            then:
            def e = thrown(TestExecutionException)
            e.message == 'No test for task :test declared for execution.'
    
            when:
            launchTests { TestLauncher launcher ->
                launcher.withTaskAndTestMethods(':test', 'example.MyTest2', [])
            }
    
            then:
            e = thrown(TestExecutionException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

        /**
         * @param parameter add a new parameter
         * @throws DuplicateParameterException if any
         */
        public void addParameter(Parameter parameter) throws DuplicateParameterException {
            if (parameters.contains(parameter)) {
                throw new DuplicateParameterException(parameter.getName()
                        + " has been declared multiple times in mojo with goal: " + getGoal() + " (implementation: "
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/toolchain/DaemonJavaToolchainQueryService.java

            this.javaInstallationRegistry = javaInstallationRegistry;
            this.currentJavaHome = currentJavaHome;
        }
    
        public JvmInstallationMetadata findMatchingToolchain(DaemonJvmCriteria toolchainSpec) throws GradleException {
            Optional<JvmToolchainMetadata> installation = locateToolchain(toolchainSpec);
            if (!installation.isPresent()) {
                String exceptionMessage = String.format(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/LocalCache.java

        /** Returns the value. Does not block or throw exceptions. */
        @CheckForNull
        V get();
    
        /**
         * Waits for a value that may still be loading. Unlike get(), this method can block (in the case
         * of FutureValueReference).
         *
         * @throws ExecutionException if the loading thread throws an exception
         * @throws ExecutionError if the loading thread throws an error
         */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  10. testing/internal-testing/src/main/groovy/org/gradle/test/preconditions/UnitTestPreconditions.groovy

            @Override
            boolean isSatisfied() throws Exception {
                return System.getenv("RUNNING_ON_REMOTE_AGENT") != null
            }
        }
    
        static final class NotInGradleceptionBuild implements TestPrecondition {
            @Override
            boolean isSatisfied() throws Exception {
                return System.getenv("BUILD_TYPE_ID")?.contains("Check_Gradleception") != true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top