Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,263 for Throw (0.35 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/ConcurrentTestUtil.groovy

            throw new UnsupportedOperationException()
        }
    
        boolean isShutdown() {
            throw new UnsupportedOperationException()
        }
    
        boolean isTerminated() {
            throw new UnsupportedOperationException()
        }
    
        boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException {
            throw new UnsupportedOperationException()
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/attributes/EmptySchema.java

        public void addConsumerDescriber(AttributeDescriber describer) {
            throw new UnsupportedOperationException();
        }
    
        @Override
        public <T> AttributeMatchingStrategy<T> getMatchingStrategy(Attribute<T> attribute) {
            throw new UnsupportedOperationException();
        }
    
        @Override
        public AttributeMatcher matcher() {
            throw new UnsupportedOperationException();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. src/runtime/os_aix.go

    			throw("sem_timedwait")
    		}
    		return 0
    	}
    	for {
    		r1, err := sem_wait((*semt)(unsafe.Pointer(mp.waitsema)))
    		if r1 == 0 {
    			break
    		}
    		if err == _EINTR {
    			continue
    		}
    		throw("sem_wait")
    	}
    	return 0
    }
    
    //go:nosplit
    func semawakeup(mp *m) {
    	if sem_post((*semt)(unsafe.Pointer(mp.waitsema))) != 0 {
    		throw("sem_post")
    	}
    }
    
    func osinit() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GFileUtils.java

            } catch (IOException e) {
                throw new UncheckedIOException("Could not update timestamp for " + file, e);
            } finally {
                IoActions.closeQuietly(out);
            }
        }
    
        public static void moveFile(File source, File destination) {
            try {
                FileUtils.moveFile(source, destination);
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top