Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 2,742 for throws (0.17 sec)

  1. 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: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the set unmodified.
       *
       * @since 12.0
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @GwtIncompatible // NavigableSet
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            }
        }
    
    
        /**
         * @param tc
         * @param chlng
         * @return the signing key
         * @throws SmbException
         * @throws GeneralSecurityException
         */
        public byte[] getSigningKey ( CIFSContext tc, byte[] chlng ) throws SmbException, GeneralSecurityException {
            switch ( tc.getConfig().getLanManCompatibility() ) {
            case 0:
            case 1:
            case 2:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

            }
        }
    
        public void test_buildRedirectLocation() throws Exception {
            assertEquals("http://localhost/login.html", HcHttpClient.buildRedirectLocation("http://localhost/", "/login.html"));
        }
    
        // public void test_doGet_mt() throws Exception {
        // ExecutorService executorService = Executors.newFixedThreadPool(1);
        //
        // // HttpClient Parameters
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

          monitor.leave();
        }
      }
    
      /**
       * @throws UnsupportedOperationException {@inheritDoc}
       * @throws ClassCastException {@inheritDoc}
       * @throws NullPointerException {@inheritDoc}
       * @throws IllegalArgumentException {@inheritDoc}
       */
      @CanIgnoreReturnValue
      @Override
      public int drainTo(Collection<? super E> c) {
        if (c == null) throw new NullPointerException();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/TearDownStackTest.java

        try {
          stack.runTearDown();
          fail("runTearDown should have thrown an exception");
        } catch (ClusterException expected) {
          assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo("two");
        } catch (RuntimeException e) {
          throw new RuntimeException(
              "A ClusterException should have been thrown, rather than a " + e.getClass().getName(), e);
        }
    
        assertEquals(true, tearDownOne.ran);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java

         * @param model The model to serialize, must not be {@code null}.
         * @throws IOException If the model could not be serialized.
         */
        void write(File output, Map<String, Object> options, Model model) throws IOException;
    
        /**
         * Writes the supplied model to the specified character writer. The writer will be automatically closed before the
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/FileOperationsTest.java

                    }
                    throw e;
                }
                finally {
                    if ( !renamed && f.exists() ) {
                        f.delete();
                    }
                }
            }
        }
    
    
        @Test
        public void testRenameDifferentTrees () throws CIFSException, MalformedURLException, UnknownHostException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:17:59 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Service.java

       * @param unit the time unit of the timeout argument
       * @throws TimeoutException if the service has not reached the given state within the deadline
       * @throws IllegalStateException if the service {@linkplain State#FAILED fails}.
       * @since 15.0
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      void awaitTerminated(long timeout, TimeUnit unit) throws TimeoutException;
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

        }
      }
    
      /**
       * @throws UnsupportedOperationException {@inheritDoc}
       * @throws ClassCastException {@inheritDoc}
       * @throws NullPointerException {@inheritDoc}
       * @throws IllegalArgumentException {@inheritDoc}
       */
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public int drainTo(Collection<? super E> c) {
        if (c == null) throw new NullPointerException();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top