- Sort Score
- Result 10 results
- Languages All
Results 1131 - 1140 of 3,030 for thrown (0.04 sec)
-
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
@Override public Object invoke(Object target, Method method, Object[] args) throws Throwable { assertTrue("setUp should have run", setUpRan.get()); try { return method.invoke(map, args); } catch (InvocationTargetException e) { throw e.getCause(); } catch (IllegalAccessException e) { throw newLinkageError(e); } } }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu May 22 16:18:11 UTC 2025 - 11.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/FunnelsTest.java
}; try { funnel.funnel(null, primitiveSink); fail(); } catch (NullPointerException ok) { } } public void testAsOutputStream() throws Exception { PrimitiveSink sink = mock(PrimitiveSink.class); OutputStream out = Funnels.asOutputStream(sink); byte[] bytes = {1, 2, 3, 4}; out.write(255); out.write(bytes); out.write(bytes, 1, 2);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dns.kt
* connection to an address fails, OkHttp will retry the connection with the next address until * either a connection is made, the set of IP addresses is exhausted, or a limit is exceeded. */ @Throws(UnknownHostException::class) fun lookup(hostname: String): List<InetAddress> companion object { /** * A DNS that uses [InetAddress.getAllByName] to ask the underlying operating system to
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
return suite; } public void testRoundTripSources() throws Exception { File asciiFile = getTestFile("ascii.txt"); ByteSource byteSource = Files.asByteSource(asciiFile); assertSame(byteSource, byteSource.asCharSource(UTF_8).asByteSource(UTF_8)); } public void testToByteArray() throws IOException { File asciiFile = getTestFile("ascii.txt");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java
@Override public void setUp() throws Exception { super.setUp(); ComponentUtil.register(new DataSerializer(), "dataSerializer"); } private String encodeUrl(final String url) { try { return URLEncoder.encode(url, Constants.UTF_8); } catch (final UnsupportedEncodingException e) { throw new FessSystemException("Unsupported encoding.", e); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java
public void test_execute_withNonPhraseQuery() { // Test with non-phrase query - should throw InvalidQueryException Query termQuery = new TermQuery(new Term("field", "value")); QueryContext context = new QueryContext("test", false); try { queryCommand.execute(context, termQuery, 1.0f); fail("Should throw InvalidQueryException for non-phrase query"); } catch (InvalidQueryException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.2K bytes - Viewed (0) -
guava/src/com/google/common/escape/Escaper.java
* </ul> * * @param string the literal string to be escaped * @return the escaped form of {@code string} * @throws NullPointerException if {@code string} is null * @throws IllegalArgumentException if {@code string} contains badly formed UTF-16 or cannot be * escaped for any other reason */ public abstract String escape(String string);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 4.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashMap.java
} } @SuppressWarnings("unchecked") @J2ktIncompatible private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); int elementCount = stream.readInt(); if (elementCount < 0) { throw new InvalidObjectException("Invalid size: " + elementCount); } init(elementCount); for (int i = 0; i < elementCount; i++) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 39.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
* * @param directoryPath parent directory path * @param fileInfo cached file information * @return SmbFile instance * @throws IOException on error */ private SmbFile createSmbFileFromCache(String directoryPath, DirectoryCacheEntry.FileInfo fileInfo) throws IOException { String filePath = directoryPath; if (!filePath.endsWith("/")) { filePath += "/"; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
* Math#toIntExact(long)} instead, but be aware that that method throws {@link * ArithmeticException} rather than {@link IllegalArgumentException}. * * @param value any value in the range of the {@code int} type * @return the {@code int} value that equals {@code value} * @throws IllegalArgumentException if {@code value} is greater than {@link Integer#MAX_VALUE} orRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 31.4K bytes - Viewed (0)