- Sort Score
- Result 10 results
- Languages All
Results 1321 - 1330 of 2,073 for catch (0.41 sec)
-
src/main/java/jcifs/smb/SmbFileOutputStream.java
treq.setFileInformation(new FileEndOfFileInformation(0)); th.send(treq, RequestParam.NO_RETRY); } } } catch (final CIFSException e) { throw SmbException.wrap(e); } } SmbFileOutputStream(final SmbFile file, final SmbTreeHandleImpl th, final SmbFileHandleImpl handle, final int openFlags,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
assertEquals("", DocumentUtil.encodeUrl("")); try { DocumentUtil.encodeUrl(null); fail("Should throw NullPointerException"); } catch (NullPointerException e) { // Expected } } public void test_encodeUrl_unicode() { assertEquals("%3F", DocumentUtil.encodeUrl("あ"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/BooleanQueryCommandTest.java
QueryContext context = new QueryContext("test", false); try { booleanQueryCommand.execute(context, termQuery, 1.0f); fail("Should throw InvalidQueryException"); } catch (InvalidQueryException e) { assertTrue(e.getMessage().contains("Unknown q:")); } } // Test convertBooleanQuery with MUST clause public void test_convertBooleanQuery_withMustClause() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
assertTrue(Arrays.equals(expectedHashCode.bytes, bb)); assertEquals(expectedHashCode.asInt, hash.asInt()); if (expectedHashCode.asLong == null) { try { hash.asLong(); fail(); } catch (IllegalStateException expected) { } } else { assertEquals(expectedHashCode.asLong.longValue(), hash.asLong()); } assertEquals(expectedHashCode.toString, hash.toString());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 13.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
try { presentFeatures = (Feature<?>[]) annotationClass.getMethod("value").invoke(testerAnnotation); absentFeatures = (Feature<?>[]) annotationClass.getMethod("absent").invoke(testerAnnotation); } catch (Exception e) { throw new IllegalArgumentException("Error extracting features from tester annotation.", e); } Set<Feature<?>> allPresentFeatures = addImpliedFeatures(copyToSet(presentFeatures));Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 12.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImplTest.java
final InputStream is = ResourceUtil.getResourceAsStream("test/text1.txt"); try { mimeTypeHelper.getContentType(null, ""); fail(); } catch (final MimeTypeException e) {} assertEquals("text/plain", mimeTypeHelper.getContentType(is, "")); assertEquals("text/plain", mimeTypeHelper.getContentType(is, " ")); }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 11.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java
accessResultDataImpl.setTransformerName("transformer"); try { final Object obj = xpathTransformer.getData(accessResultDataImpl); fail(); } catch (final CrawlerSystemException e) {} } public void test_getData_nullData() throws Exception { final String value = "<?xml version=\"1.0\"?>\n"// + "<doc>\n"//
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 12.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
} } @J2ktIncompatible @GwtIncompatible // reflection public static Method getMethod(Class<?> clazz, String name) { try { return clazz.getMethod(name); } catch (Exception e) { throw new IllegalArgumentException(e); } } /** * Useless constructor for a class of static utility methods. * * @deprecated Do not instantiate this utility class.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 17.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
addEdge(N1, N2, E12); Set<String> adjacentEdges = network.adjacentEdges(E12); try { adjacentEdges.add(E23); fail(ERROR_MODIFIABLE_COLLECTION); } catch (UnsupportedOperationException e) { addEdge(N2, N3, E23); assertThat(network.adjacentEdges(E12)).containsExactlyElementsIn(adjacentEdges); } } @Override @TestRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 20.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
// it's shared to avoid using too much memory in tests byte[] sharedArray = new byte[arraysDim2]; Arrays.fill(arrays, sharedArray); try { Bytes.concat(arrays); fail(); } catch (IllegalArgumentException expected) { } } public void testEnsureCapacity() { assertThat(Bytes.ensureCapacity(EMPTY, 0, 1)).isSameInstanceAs(EMPTY);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0)