- Sort Score
- Num 10 results
- Language All
Results 841 - 850 of 2,684 for catch (0.12 seconds)
-
src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java
getPathMapping(form).ifPresent(entity -> { try { pathMappingService.store(entity); saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL)); } catch (final Exception e) { logger.warn("Failed to process a request.", e); throwValidationError(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)),
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 15.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/util/ports/DefaultPortDetector.java
try { ds.setReuseAddress(true); } finally { ds.close(); } return true; } catch (IOException e) { return false; } }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/exbhv/UserInfoBhv.java
try { final Instant instant = Instant.from(DateTimeFormatter.ISO_INSTANT.parse(value.toString())); return LocalDateTime.ofInstant(instant, ZoneId.systemDefault()); } catch (final DateTimeParseException e) { logger.debug("Invalid date format: {}", value, e); } } return DfTypeUtil.toLocalDateTime(value); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 2.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java
throw new IllegalArgumentException( "File path is outside allowed directory: path=" + canonicalPath + ", allowed=" + allowedPaths); } } catch (final IOException e) { throw new IllegalArgumentException("Invalid file path: path=" + path, e); } } /** * Gets the servlet context. *
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 13:57:12 GMT 2026 - 10.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java
// Test throwing and catching the exception String componentName = "cacheManager"; try { throw new ContainerNotAvailableException(componentName); } catch (ContainerNotAvailableException e) { assertEquals(componentName + " is not available.", e.getMessage()); assertNull(e.getCause()); assertEquals(componentName, e.getComponentName());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.1K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
put(key, calculatedValue); } catch (RuntimeException e) { statsCounter.recordLoadException(ticker.read() - startTime); throw new UncheckedExecutionException(e); } catch (Exception e) { statsCounter.recordLoadException(ticker.read() - startTime); throw new ExecutionException(e); } catch (Error e) { statsCounter.recordLoadException(ticker.read() - startTime);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 21.6K bytes - Click Count (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
// Execute and verify CIFSException thrown = assertThrows(CIFSException.class, () -> { watchHandle.watch(); }); assertEquals("Watch operation failed", thrown.getMessage()); verify(watchHandle, times(1)).watch(); } /** * Test call() method delegates to watch() */ @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (1) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellCommandRegistryHolder.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 17 09:50:45 GMT 2024 - 2.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java
return 4; } try { securityDescriptor = new SecurityDescriptor(); bufferIndex += securityDescriptor.decode(buffer, bufferIndex, len); } catch (final IOException ioe) { throw new RuntimeException(ioe.getMessage()); } return bufferIndex - start; } @Override public String toString() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 2.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/InetAddressesTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 36.3K bytes - Click Count (0)