Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 6,600 for throws (0.3 sec)

  1. guava/src/com/google/common/collect/ForwardingBlockingDeque.java

        return delegate().pollFirst(timeout, unit);
      }
    
      @Override
      @CheckForNull
      public E pollLast(long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().pollLast(timeout, unit);
      }
    
      @Override
      public void put(E e) throws InterruptedException {
        delegate().put(e);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. platforms/software/resources/src/main/java/org/gradle/internal/resource/TextResource.java

         * @return the content. Never returns null.
         * @throws org.gradle.api.resources.MissingResourceException When this resource does not exist.
         * @throws ResourceException On failure to read content.
         */
        String getText() throws ResourceException;
    
        /**
         * Returns a hashcode of this resource's contents.
         */
        HashCode getContentHash() throws ResourceException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/AbstractAuthenticationSupportedRepositoryTest.groovy

        }
    
        def "get credentials throws ISE if not using password credentials"() {
            when:
            repo().with {
                credentials(AwsCredentials, {})
                credentials
            }
    
            then:
            thrown IllegalStateException
        }
    
        def "credentials(Action) throws ISE if not using password credentials"() {
            when:
            repo().with {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableMultiset.java

       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final int setCount(E element, int count) {
        throw new UnsupportedOperationException();
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        @BeforeEach
        void setUp() throws Exception {
            testDirectory = new File(getBasedir(), BASE_POM_DIR);
            new File(getBasedir(), BASE_MIXIN_DIR);
            EmptyLifecycleBindingsInjector.useEmpty();
        }
    
        /**
         * Will throw exception if url is empty. MNG-4050
         *
         * @throws Exception in case of issue
         */
        @Test
        void testEmptyUrl() throws Exception {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 93.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

        handler: Handler,
        length: Int,
        flags: Int,
        streamId: Int,
      ) {
        if (length != 5) throw IOException("TYPE_PRIORITY length: $length != 5")
        if (streamId == 0) throw IOException("TYPE_PRIORITY streamId == 0")
        readPriority(handler, streamId)
      }
    
      @Throws(IOException::class)
      private fun readPriority(
        handler: Handler,
        streamId: Int,
      ) {
        val w1 = source.readInt()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/FileBackedOutputStream.java

        update(len);
        out.write(b, off, len);
      }
    
      @Override
      public synchronized void close() throws IOException {
        out.close();
      }
    
      @Override
      public synchronized void flush() throws IOException {
        out.flush();
      }
    
      /**
       * Checks if writing {@code len} bytes would go over threshold, and switches to file buffering if
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/InputStreamBackedDecoder.java

            return inputStream.readInt();
        }
    
        @Override
        public short readShort() throws EOFException, IOException {
            return inputStream.readShort();
        }
    
        @Override
        public float readFloat() throws EOFException, IOException {
            return inputStream.readFloat();
        }
    
        @Override
        public double readDouble() throws EOFException, IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TestProgressCrossVersionSpec.groovy

                package example;
                public class MyTest1 {
                    @org.junit.Test public void alpha() throws Exception {
                         Thread.sleep(100);
                         org.junit.Assert.assertEquals(1, 1);
                    }
                    @org.junit.Test public void beta() throws Exception {
                         Thread.sleep(100);
                         org.junit.Assert.assertEquals(1, 1);
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/settings/MavenSettingsBuilder.java

        Settings buildSettings(MavenExecutionRequest request) throws IOException, XmlPullParserException;
    
        /**
         * @return a <code>Settings</code> object from the user settings file.
         * @throws IOException if any
         * @throws XmlPullParserException if any
         */
        Settings buildSettings() throws IOException, XmlPullParserException;
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top