Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 2,652 for throwIf (0.09 sec)

  1. guava/src/com/google/common/reflect/Invokable.java

       * returns the return value; or calls the underlying constructor with {@code args} and returns the
       * constructed instance.
       *
       * @throws IllegalAccessException if this {@code Constructor} object enforces Java language access
       *     control and the underlying method or constructor is inaccessible.
       * @throws IllegalArgumentException if the number of actual and formal parameters differ; if an
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                }
            } catch (final CrawlerSystemException e) {
                CloseableUtil.closeQuietly(responseData);
                throw e;
            } catch (final SmbException e) {
                CloseableUtil.closeQuietly(responseData);
                throw new CrawlingAccessException("Could not access " + uri, e);
            }
    
            return responseData;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                posInc = 0;
            }
            return queue.size() > qSize;
        }
    
        @Override
        public void end() throws IOException {
            super.end();
            offsetAttr.setOffset(finalOffset, finalOffset);
        }
    
        @Override
        public void reset() throws IOException {
            super.reset();
            block.setLength(0);
            prevToken = null;
            readBufferIndex = BUFFER_SIZE;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractBiMap.java

      }
    
      @Override
      protected Map<K, V> delegate() {
        return delegate;
      }
    
      /** Returns its input, or throws an exception if this is not a valid key. */
      @CanIgnoreReturnValue
      @ParametricNullness
      K checkKey(@ParametricNullness K key) {
        return key;
      }
    
      /** Returns its input, or throws an exception if this is not a valid value. */
      @CanIgnoreReturnValue
      @ParametricNullness
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

        @Override
        public Object invoke(Object target, Method method, Object[] args) throws Throwable {
          assertTrue("setUp should have run", setUpRan.get());
          try {
            return method.invoke(map, args);
          } catch (InvocationTargetException e) {
            throw e.getCause();
          } catch (IllegalAccessException e) {
            throw newLinkageError(e);
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Collections2.java

        }
    
        return new FilteredCollection<>(checkNotNull(unfiltered), checkNotNull(predicate));
      }
    
      /**
       * Delegates to {@link Collection#contains}. Returns {@code false} if the {@code contains} method
       * throws a {@code ClassCastException} or {@code NullPointerException}.
       */
      static boolean safeContains(Collection<?> collection, @CheckForNull Object object) {
        checkNotNull(collection);
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/NetworkBuilder.java

        return this;
      }
    
      /**
       * Specifies the expected number of nodes in the network.
       *
       * @throws IllegalArgumentException if {@code expectedNodeCount} is negative
       */
      @CanIgnoreReturnValue
      public NetworkBuilder<N, E> expectedNodeCount(int expectedNodeCount) {
        this.expectedNodeCount = Optional.of(checkNonNegative(expectedNodeCount));
        return this;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

            try {
                return URLEncoder.encode(url, Constants.UTF_8);
            } catch (final UnsupportedEncodingException e) {
                throw new FessSystemException("Unsupported encoding.", e);
            }
        }
    
        public void test_decodeUrl_ok() throws Exception {
            String url, exp;
            final FessFileTransformer transformer = createInstance();
    
            url = "";
            exp = "";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type3Message.java

         *            taking place.
         * @param flags
         * @throws GeneralSecurityException
         * @throws CIFSException
         */
        public Type3Message ( CIFSContext tc, Type2Message type2, String targetName, String password, String domain, String user, String workstation,
                int flags ) throws GeneralSecurityException, CIFSException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/test/kotlin/okhttp3/OkHttpClientTestRuleTest.kt

        val thread =
          object : Thread() {
            override fun run() {
              throw RuntimeException("boom!")
            }
          }
        thread.start()
        thread.join()
    
        assertFailsWith<AssertionError> {
          testRule.afterEach(extensionContext)
        }.also { expected ->
          assertThat(expected).hasMessage("uncaught exception thrown during test")
          assertThat(expected.cause!!).hasMessage("boom!")
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top