Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1561 - 1570 of 2,976 for throw (0.02 sec)

  1. src/test/java/jcifs/smb/SIDTest.java

            }
    
            @Test
            @DisplayName("initContext then accessors propagate resolver CIFSException as log-only (no throw)")
            void testResolveWeakCIFSExceptionIsIgnored() throws Exception {
                SID sid = new SID("S-1-5-21-1-2-3");
                doThrow(new CIFSException("boom")).when(mockResolver).resolveSids(any(), anyString(), any());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

        @Resource
        private ScheduledJobService scheduledJobService;
    
        /**
         * Index page (not supported for API).
         *
         * @return throws UnsupportedOperationException
         */
        @Execute
        public HtmlResponse index() {
            throw new UnsupportedOperationException();
        }
    
        /**
         * Starts a scheduled job by ID.
         *
         * @param id the ID of the scheduled job to start
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

       * FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      /*
       * TODO(cpovirk): or we could make HOLES_FORBIDDEN a feature. Or we could declare that
       * implementations are permitted to throw IAE if a hole is requested, and we could update
       * test*Hole to permit IAE. (But might this ignore genuine bugs?) But see the TODO above
       * testLower, which could make this all unnecessary
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java

                for (final Map.Entry<String, String> entry : propertyMap.entrySet()) {
                    parser.setProperty(entry.getKey(), entry.getValue());
                }
            } catch (final Exception e) {
                throw new CrawlerSystemException("Invalid parser configuration.", e);
            }
    
            return parser;
        }
    
        /**
         * Gets a thread-local XPathAPI instance for thread-safe XPath evaluation.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt

          delegate.onFailure(webSocket, t, response)
        } else {
          events.add(Failure(t, response))
        }
      }
    
      private fun nextEvent(): Any =
        events.poll(10, TimeUnit.SECONDS)
          ?: throw AssertionError("Timed out waiting for event.")
    
      fun assertTextMessage(payload: String?) {
        assertThat(nextEvent()).isEqualTo(Message(string = payload))
      }
    
      fun assertBinaryMessage(payload: ByteString?) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

                            robotsTxt.addSitemap(value);
                        }
                    }
                }
    
                return robotsTxt;
            } catch (final Exception e) {
                throw new RobotsTxtException("Failed to parse robots.txt.", e);
            }
        }
    
        /**
         * Extracts the value from a line using the given pattern.
         * @param pattern the pattern to match against
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

      }
    
      @Override
      Collection<V> createValues() {
        return new FilteredMultimapValues<>(this);
      }
    
      @Override
      Iterator<Entry<K, V>> entryIterator() {
        throw new AssertionError("should never be called");
      }
    
      @Override
      Map<K, Collection<V>> createAsMap() {
        return new AsMap();
      }
    
      @Override
      Set<K> createKeySet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java

                                logger.debug("{} exists.", urlQueue.getUrl(), e);
                            }
                            return;
                        }
                        throw e;
                    }
                    if (logger.isDebugEnabled()) {
                        logger.debug("Storing child urls: {}", resultData.getChildUrlSet());
                    }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

        }
    
        // Test append method with exception in supplier
        public void test_append_exceptionInSupplier() {
            StringBuilder buf = new StringBuilder();
            Supplier<Object> supplier = () -> {
                throw new RuntimeException("Test exception");
            };
    
            monitorTarget.append(buf, "errorKey", supplier);
            assertEquals("\"errorKey\":null", buf.toString());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/util/HMACT64Test.java

            // Test engineDigest with buffer too small
            HMACT64 hmac = new HMACT64(TEST_KEY);
            hmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length);
    
            byte[] buffer = new byte[10];
            // Should throw exception when buffer is too small
            assertThrows(IllegalStateException.class, () -> hmac.engineDigest(buffer, 0, 10));
        }
    
        @Test
        void testClone() {
            // Test clone() method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top