- Sort Score
- Num 10 results
- Language All
Results 1421 - 1430 of 3,107 for execution (0.16 seconds)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java
import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.lang.StringUtil; import org.codelibs.fess.crawler.container.CrawlerContainer; import org.codelibs.fess.crawler.exception.CrawlerSystemException; import jakarta.annotation.PostConstruct; import jakarta.annotation.Resource; /** * A factory class for managing and creating crawler clients based on URL patterns.
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 7.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
public void test_destroy_withException() { systemHelper.addShutdownHook(() -> { throw new RuntimeException("test exception"); }); try { systemHelper.destroy(); assertTrue(true); } catch (Exception e) { fail("Exception should be caught and not propagated"); } } @Test public void test_getHelpUrl() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 44.4K bytes - Click Count (0) -
guava/src/com/google/common/base/Strings.java
return builder.toString(); } @SuppressWarnings("CatchingUnchecked") // sneaky checked exception private static String lenientToString(@Nullable Object o) { if (o == null) { return "null"; } try { return o.toString(); } catch (Exception e) { // sneaky checked exception // Default toString() behavior - see Object.toString() String objectToString =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java
try { String result = crawlingInfoHelper.generateId(emptyMap); // May throw exception or return result - both acceptable if (result != null) { assertEquals(128, result.length()); } } catch (Exception e) { // Expected for empty map without URL } // Test with null URLCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 28.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
} /** * When an interceptor throws an unexpected exception, asynchronous calls are canceled. The * exception goes to the uncaught exception handler. */ private fun interceptorThrowsRuntimeExceptionAsynchronous(network: Boolean) { val boom = RuntimeException("boom!") addInterceptor(network) { chain: Interceptor.Chain? -> throw boom } val executor = ExceptionCatchingExecutor() client = client
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 16:11:23 GMT 2025 - 28.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/PackageSanityTests.java
setDefault(EndpointPair.class, EndpointPair.ordered("A", "B")); } @Override public void testNulls() throws Exception { try { super.testNulls(); } catch (AssertionError e) { assertWithMessage("Method did not throw null pointer OR element not in graph exception.") .that(e) .hasCauseThat() .hasMessageThat() .contains(ERROR_ELEMENT_NOT_IN_GRAPH); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
return true; } } @Nested @DisplayName("Happy path – accept is called and returns true") class HappyPath { @Test void acceptWithMockedFile() throws Exception { SmbFile mockFile = mock(SmbFile.class); when(mockFile.getPath()).thenReturn("/share/file.txt"); assertTrue(ALWAYSACTIVE.accept(mockFile)); } } @NestedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/root/DefaultRootLocator.java
// even before the arguments from the command line are parsed. Any exception // that would happen here should cause the build to fail at a later stage // (when actually parsing the POM) and will lead to a better exception being // displayed to the user, so just bail out and return false. } return false; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SMBProtocolDowngradeException.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb; import jcifs.CIFSException; /** * Exception thrown when an SMB protocol downgrade attack is detected. * Indicates that the negotiated protocol version is lower than expected or required. * * @author mbechler * */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/DefaultNormalizerTest.java
suggester = Suggester.builder().build(runner.client(), "SuggesterTest"); } @AfterClass public static void afterClass() throws Exception { runner.close(); runner.clean(); } @Test public void test_normalize() throws Exception { Normalizer normalizer = SuggestUtil.createDefaultNormalizer(runner.client(), suggester.settings());Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Nov 01 13:29:47 GMT 2025 - 2.2K bytes - Click Count (0)