Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 6,624 for throws (0.13 sec)

  1. maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

        private Artifact projectArtifact;
    
        @BeforeEach
        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            projectArtifact = createLocalArtifact("project", "3.0");
        }
    
        @Override
        protected DefaultRepositorySystemSession initRepoSession() throws Exception {
            DefaultRepositorySystemSession session = super.initRepoSession();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        future = SettableFuture.create();
        tester = new ListenableFutureTester(future);
        tester.setUp();
      }
    
      public void testDefaultState() throws Exception {
        assertThrows(TimeoutException.class, () -> future.get(5, TimeUnit.MILLISECONDS));
      }
    
      public void testSetValue() throws Exception {
        assertTrue(future.set("value"));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

      private String leave() {
        return "leave";
      }
    
      public final void testMutualExclusion() throws Exception {
        thread1.callAndAssertReturns(enter());
        thread2.callAndAssertBlocks(enter());
        thread1.callAndAssertReturns(leave());
        thread2.assertPriorCallReturns(enter());
      }
    
      public final void testTryEnter() throws Exception {
        thread1.callAndAssertReturns(true, tryEnter());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/EvaluationContext.java

         * If the owner is already being evaluated, throws {@link CircularEvaluationException}.
         *
         * @param owner the object to evaluate
         * @param evaluation the evaluation
         * @param <R> the type of the result
         * @param <E> (optional) exception type being thrown by the evaluation
         * @return the result of the evaluation
         * @throws E exception from the {@code evaluation} is propagated
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 16:54:51 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

        }
    
        protected void createLocalArtifact(Artifact artifact) throws Exception {
            createArtifact(artifact, localRepository());
        }
    
        protected void createRemoteArtifact(Artifact artifact) throws Exception {
            createArtifact(artifact, remoteRepository());
        }
    
        protected void createArtifact(Artifact artifact, ArtifactRepository repository) throws Exception {
            String path = repository.pathOf(artifact);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/FilesTest.java

        return suite;
      }
    
      public void testRoundTripSources() throws Exception {
        File asciiFile = getTestFile("ascii.txt");
        ByteSource byteSource = Files.asByteSource(asciiFile);
        assertSame(byteSource, byteSource.asCharSource(Charsets.UTF_8).asByteSource(Charsets.UTF_8));
      }
    
      public void testToByteArray() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/GroovyFileInterceptors.java

        ) throws IOException {
            return Instrumented.groovyFileGetText(self, consumer);
        }
    
        @InterceptGroovyCalls
        @InstanceMethod
        @WithExtensionReferences(toClass = ResourceGroovyMethods.class)
        public static String intercept_getText(
            @Receiver File self,
            String charset,
            @CallerClassName String consumer
        ) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 24 15:57:56 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        }
        verifyThreadWasNotInterrupted();
      }
    
      public void testFailed() throws Exception {
        final Exception e = new Exception();
        TrustedListenableFutureTask<Integer> task =
            TrustedListenableFutureTask.create(
                new Callable<Integer>() {
                  @Override
                  public Integer call() throws Exception {
                    throw e;
                  }
                });
        task.run();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

      }
    
      @Throws(SocketException::class)
      override fun getSendBufferSize(): Int {
        return delegate!!.sendBufferSize
      }
    
      @Throws(SocketException::class)
      override fun getSoTimeout(): Int {
        return delegate!!.soTimeout
      }
    
      @Throws(SocketException::class)
      override fun getTcpNoDelay(): Boolean {
        return delegate!!.tcpNoDelay
      }
    
      @Throws(SocketException::class)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/DefaultCallSiteDecorator.java

            public Object call(Object receiver, Object[] args) throws Throwable {
                CallInterceptor interceptor = resolveCallInterceptor(InterceptScope.methodsNamed(getName()));
                if (interceptor != null) {
                    return interceptor.intercept(new AbstractInvocation<Object>(receiver, args) {
                        @Override
                        public Object callOriginal() throws Throwable {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:46:35 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top