Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 831 - 840 of 3,637 for throwIf (0.07 seconds)

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

       *     no change will be made.
       * @return the count of the element before the operation; possibly zero
       * @throws IllegalArgumentException if {@code occurrences} is negative, or if this operation would
       *     result in more than {@link Integer#MAX_VALUE} occurrences of the element
       * @throws NullPointerException if {@code element} is null and this implementation does not permit
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 20.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

         * Creates a Lucene Query from this query builder.
         *
         * @param context the query shard context
         * @return the Lucene Query
         * @throws IOException if an I/O error occurs
         */
        @Override
        public Query toQuery(final QueryShardContext context) throws IOException {
            return queryBuilder.toQuery(context);
        }
    
        /**
         * Returns whether this query builder is a fragment.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/DefaultConflictResolverFactory.java

         */
    
        @Override
        public ConflictResolver getConflictResolver(String type) throws ConflictResolverNotFoundException {
            try {
                return (ConflictResolver) container.lookup(ConflictResolver.ROLE, type);
            } catch (ComponentLookupException exception) {
                throw new ConflictResolverNotFoundException("Cannot find conflict resolver of type: " + type);
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

        void updateType(final int t) {
            this.type = t;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#getType()
         */
        @Override
        public int getType() throws CIFSException {
            if (this.type == 0) {
                if (getUNCPath().length() > 1) {
                    this.type = SmbConstants.TYPE_FILESYSTEM;
                } else if (getShare() != null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorErrorHandlingTest.java

    public class RankFusionProcessorErrorHandlingTest extends UnitFessTestCase {
    
        private static final String ID_FIELD = "_id";
    
        /**
         * Test handling of searcher that throws RuntimeException.
         */
        @Test
        public void test_searcherThrowsRuntimeException() throws Exception {
            try (RankFusionProcessor processor = new RankFusionProcessor()) {
                processor.setSearcher(new TestSearcher(100));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

            return servletPath.startsWith(pathPrefix);
        }
    
        @Override
        public void process(final HttpServletRequest request, final HttpServletResponse response, final FilterChain chain)
                throws IOException, ServletException {
            final RequestManager requestManager = ComponentUtil.getRequestManager();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:40 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

            return getArtifactId() + "-" + artifact.getVersion() + ".pom";
        }
    
        @Override
        public void storeInLocalRepository(ArtifactRepository localRepository, ArtifactRepository remoteRepository)
                throws RepositoryMetadataStoreException {
            File destination = new File(
                    localRepository.getBasedir(), localRepository.pathOfLocalRepositoryMetadata(this, remoteRepository));
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/RangeSet.java

      boolean isEmpty();
    
      /**
       * Returns the minimal range which {@linkplain Range#encloses(Range) encloses} all ranges in this
       * range set.
       *
       * @throws NoSuchElementException if this range set is {@linkplain #isEmpty() empty}
       */
      Range<C> span();
    
      // Views
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  9. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

       *
       * <p>This bug is this: if you create an iterator from a TreeSet and call next() on that iterator
       * when hasNext() is false, so that next() throws a NoSuchElementException, then subsequent calls
       * to remove() will incorrectly throw an IllegalStateException, instead of removing the last
       * element returned.
       *
       * <p>See <a href="https://bugs.openjdk.org/browse/JDK-6529795">JDK-6529795</a>
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

            try {
                throw new DictionaryExpiredException();
            } catch (RuntimeException e) {
                assertNotNull(e);
                assertTrue(e instanceof DictionaryExpiredException);
            } catch (Exception e) {
                fail("Should have caught as RuntimeException");
            }
        }
    
        @Test
        public void test_serialization() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.5K bytes
    - Click Count (0)
Back to Top