Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 2,240 for throwIf (0.63 seconds)

  1. android/guava/src/com/google/common/collect/ImmutableMultimap.java

       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final boolean putAll(Multimap<? extends K, ? extends V> multimap) {
        throw new UnsupportedOperationException();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 27.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

         * @param listener the response listener
         * @throws UnsupportedOperationException always thrown as this operation is not implemented
         */
        @Override
        public void searchView(org.opensearch.action.admin.indices.view.SearchViewAction.Request request,
                ActionListener<SearchResponse> listener) {
            throw new UnsupportedOperationException("Not implemented yet");
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 138.6K bytes
    - Click Count (1)
  3. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

      public void readFully(byte[] b, int off, int len) throws IOException {
        ByteStreams.readFully(this, b, off, len);
      }
    
      @Override
      public int skipBytes(int n) throws IOException {
        return (int) in.skip(n);
      }
    
      @CanIgnoreReturnValue // to skip a byte
      @Override
      public int readUnsignedByte() throws IOException {
        int b1 = in.read();
        if (b1 < 0) {
          throw new EOFException();
        }
    
        return b1;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 03:49:18 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/base/Throwables.java

       *   throwIfUnchecked(failure);
       *   throw new AssertionError(failure);
       * }
       * </pre>
       *
       * @since 20.0
       */
      @GwtIncompatible // Class.cast, Class.isInstance
      public static <X extends Throwable> void throwIfInstanceOf(
          Throwable throwable, Class<X> declaredType) throws X {
        checkNotNull(throwable);
        if (declaredType.isInstance(throwable)) {
          throw declaredType.cast(throwable);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

       *
       * @deprecated unsupported operation
       * @throws UnsupportedOperationException always
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public @Nullable B put(TypeToken<? extends @NonNull B> key, @ParametricNullness B value) {
        throw new UnsupportedOperationException("Please use putInstance() instead.");
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

        private FessLabels fessLabels;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            fessLabels = new FessLabels();
        }
    
        /**
         * Test that assertPropertyNotNull throws exception for null input
         */
        @Test
        public void test_assertPropertyNotNull_withNull() {
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

      // transition to DONE
      public void testInterruptThrows() throws Exception {
        CountDownLatch isInterruptibleRegistered = new CountDownLatch(1);
        SettableFuture<String> taskResult = SettableFuture.create();
        InterruptibleTask<String> task =
            new InterruptibleTask<String>() {
              @Override
              String runInterruptibly() throws Exception {
                BrokenChannel bc = new BrokenChannel();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

      // transition to DONE
      public void testInterruptThrows() throws Exception {
        CountDownLatch isInterruptibleRegistered = new CountDownLatch(1);
        SettableFuture<String> taskResult = SettableFuture.create();
        InterruptibleTask<String> task =
            new InterruptibleTask<String>() {
              @Override
              String runInterruptibly() throws Exception {
                BrokenChannel bc = new BrokenChannel();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

            throws InterruptedException {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public <T> T invokeAny(Collection<? extends Callable<T>> tasks)
            throws ExecutionException, InterruptedException {
          throw new UnsupportedOperationException();
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

      @Synchronized fun writeSuccessCount(): Int = writeSuccessCount
    
      @Throws(IOException::class)
      fun size(): Long = cache.size()
    
      /** Max size of the cache (in bytes). */
      fun maxSize(): Long = cache.maxSize
    
      @Throws(IOException::class)
      override fun flush() {
        cache.flush()
      }
    
      @Throws(IOException::class)
      override fun close() {
        cache.close()
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 26.9K bytes
    - Click Count (0)
Back to Top