- Sort Score
- Num 10 results
- Language All
Results 1651 - 1660 of 2,684 for catch (0.05 seconds)
-
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
* @return the converted {@link java.sql.Date} */ protected static java.sql.Date toSqlDateJdbcEscape(final String str) { try { return java.sql.Date.valueOf(str); } catch (final IllegalArgumentException ex) { return null; } } /** * Converts a pattern string to a plain pattern string without delimiters. *Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 19.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
when(ctx.getNameServiceClient()).thenReturn(nsc); } private static URL smbUrl(String spec) { try { return new URL(null, spec, SMB_HANDLER); } catch (Exception e) { throw new AssertionError(e); } } private SmbResourceLocatorImpl locator(String spec) { return new SmbResourceLocatorImpl(ctx, smbUrl(spec)); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java
} private static Type genericReturnType(Class<?> cls, String methodName) { try { return cls.getMethod(methodName).getGenericReturnType(); } catch (Exception e) { throw new RuntimeException(e); } } public void testTwoStageResolution() { class ForTwoStageResolution<A extends Number> { <B extends A> void verifyTwoStageResolution() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 19.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java
} private static Type genericReturnType(Class<?> cls, String methodName) { try { return cls.getMethod(methodName).getGenericReturnType(); } catch (Exception e) { throw new RuntimeException(e); } } public void testTwoStageResolution() { class ForTwoStageResolution<A extends Number> { <B extends A> void verifyTwoStageResolution() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 19.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/Collections2Test.java
assertFalse("Expected no more permutations, but there was one.", permutations.hasNext()); try { permutations.next(); fail("Expected NoSuchElementException."); } catch (NoSuchElementException expected) { } } private <T> void assertPermutationsCount(int expected, Collection<List<T>> permutationSet) { assertEquals(expected, permutationSet.size());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 20.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
parser.setProperty(XMLConstants.ACCESS_EXTERNAL_DTD, StringUtil.EMPTY); parser.setProperty(XMLConstants.ACCESS_EXTERNAL_SCHEMA, StringUtil.EMPTY); parser.parse(is, this); } catch (final Exception e) { throw new GsaConfigException("Failed to parse XML file.", e); } } /** * SAX event handler called at the beginning of document parsing.
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 21.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
try { Files.move(from, to); if (success) { assertFalse(from.exists()); assertTrue(to.exists()); } else { fail("expected exception"); } } catch (IOException possiblyExpected) { if (success) { throw possiblyExpected; } } } private static class UnmovableFile extends File { private final boolean canRename;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 22.8K bytes - Click Count (0) -
internal/grid/muxclient.go
if !m.closed { gridLogIf(m.ctx, m.sendLocked(message{Op: OpUnblockSrvMux, MuxID: m.MuxID})) } m.respMu.Unlock() case <-m.ctx.Done(): // Client canceled. Don't block. // Next loop will catch it. case <-pingTimer: if !m.doPing(respHandler) { return } goto sendResp } case <-pingTimer: if !m.doPing(respHandler) { return } } } }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/Streams.java
// first as suppressed exceptions. We don't catch Error on the grounds that it should be allowed // to propagate immediately. Exception exception = null; for (BaseStream<?, ?> stream : toClose) { try { stream.close(); } catch (Exception e) { // sneaky checked exception if (exception == null) { exception = e;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 36.4K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
Arguments.of(true, new String[] {"--force-interactive", "--non-interactive", "--batch-mode"}, false), Arguments.of(false, new String[] {"--non-interactive"}, true), Arguments.of(false, new String[] {"--batch-mode"}, true), Arguments.of(false, new String[] {"--non-interactive", "--batch-mode"}, true)); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 30.9K bytes - Click Count (0)