Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 4,853 for Throw (0.05 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStateCoordinator.java

                    case Stopped:
                    case ForceStopped:
                        throw new DaemonStoppedException(stopReason);
                    case Broken:
                        throw new DaemonUnavailableException("This daemon is broken and will stop.");
                    default:
                        throw new IllegalStateException("Daemon is in unexpected state: " + state);
                }
            } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/UncheckedException.java

            }
            if (t instanceof RuntimeException) {
                throw (RuntimeException) t;
            }
            if (t instanceof Error) {
                throw (Error) t;
            }
            if (t instanceof IOException) {
                if (preserveMessage) {
                    throw new UncheckedIOException(t.getMessage(), t);
                } else {
                    throw new UncheckedIOException(t);
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MultithreadedTestRule.java

            long expected = units.toMillis(value);
            if (actual < expected - 200) {
                throw new RuntimeException(String.format(
                        "Action did not block for expected time. Expected ~ %d ms, was %d ms.", expected, actual));
            }
            if (actual > expected + 1200) {
                throw new RuntimeException(String.format(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpDirectoryResource.groovy

        @Override
        void expectHead() {
            throw new UnsupportedOperationException()
        }
    
        @Override
        void expectHeadBroken() {
            throw new UnsupportedOperationException()
        }
    
        @Override
        void expectHeadMissing() {
            throw new UnsupportedOperationException()
        }
    
        @Override
        void expectHeadRevalidate() {
            throw new UnsupportedOperationException()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Preconditions.java

          @CheckForNull Object p4) {
        if (reference == null) {
          throw new NullPointerException(lenientFormat(errorMessageTemplate, p1, p2, p3, p4));
        }
        return reference;
      }
    
      /*
       * All recent hotspots (as of 2009) *really* like to have the natural code
       *
       * if (guardExpression) {
       *    throw new BadException(messageExpression);
       * }
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 11:52:14 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  6. src/runtime/msan0.go

    func msanread(addr unsafe.Pointer, sz uintptr)     { throw("msan") }
    func msanwrite(addr unsafe.Pointer, sz uintptr)    { throw("msan") }
    func msanmalloc(addr unsafe.Pointer, sz uintptr)   { throw("msan") }
    func msanfree(addr unsafe.Pointer, sz uintptr)     { throw("msan") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 725 bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/FileBackedBlockStore.java

                throw e;
            } catch (Exception e) {
                throw new UncheckedIOException(e);
            }
        }
    
        @Override
        public void write(BlockPayload block) {
            BlockImpl blockImpl = (BlockImpl) block.getBlock();
            try {
                blockImpl.write();
            } catch (CorruptedCacheException e) {
                throw e;
            } catch (Exception e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/BuildEventsErrorIntegrationTest.groovy

        def "produces reasonable error message when build fails and Gradle.buildFinished closure also fails"() {
            buildFile << """
        gradle.buildFinished {
            throw new RuntimeException('broken closure')
        }
        task broken {
            doLast { throw new RuntimeException('broken task') }
        }
    """
    
            when:
            fails("broken")
    
            then:
            failure.assertHasFailures(2)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Preconditions.java

          @CheckForNull Object p4) {
        if (reference == null) {
          throw new NullPointerException(lenientFormat(errorMessageTemplate, p1, p2, p3, p4));
        }
        return reference;
      }
    
      /*
       * All recent hotspots (as of 2009) *really* like to have the natural code
       *
       * if (guardExpression) {
       *    throw new BadException(messageExpression);
       * }
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 11:52:14 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/artifact/AttachedArtifact.java

            throw new UnsupportedOperationException("Cannot change the version information for an attached artifact."
                    + " It is derived from the main artifact.");
        }
    
        public String getBaseVersion() {
            return parent.getBaseVersion();
        }
    
        public void setBaseVersion(String baseVersion) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 6.1K bytes
    - Viewed (0)
Back to top