- Sort Score
- Num 10 results
- Language All
Results 791 - 800 of 2,828 for exception (0.17 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
*/ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class ExecutionListTest extends TestCase { private final ExecutionList list = new ExecutionList(); public void testRunOnPopulatedList() throws Exception { Executor exec = newCachedThreadPool(); CountDownLatch countDownLatch = new CountDownLatch(3); list.add(new MockRunnable(countDownLatch), exec); list.add(new MockRunnable(countDownLatch), exec);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java
} public void testSuccessfulNull() throws ExecutionException { assertThat(getDone(immediateVoidFuture())).isEqualTo(null); } public void testFailed() { Exception failureCause = new Exception(); ExecutionException expected = assertThrows(ExecutionException.class, () -> getDone(immediateFailedFuture(failureCause))); assertThat(expected).hasCauseThat().isEqualTo(failureCause); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 01:35:55 GMT 2025 - 2.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java
} @Override protected void tearDown(TestInfo testInfo) throws Exception { file1.delete(); } */ @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); kuromojiFile = new KuromojiFile("1", "dummy", new Date()); List<KuromojiItem> itemList = new ArrayList<>();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 7.4K bytes - Click Count (0) -
src/test/java/jcifs/util/StringsTest.java
// When & Then RuntimeCIFSException exception = assertThrows(RuntimeCIFSException.class, () -> { Strings.getOEMBytes(TEST_STRING, mockConfig); }); assertTrue(exception.getMessage().contains("Unsupported OEM encoding"), "Exception should mention unsupported encoding");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java
private final OkHttpClient client = new OkHttpClient.Builder() .addInterceptor(new LoggingInterceptor()) .build(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); Response response = client.newCall(request).execute(); response.body().close(); }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jan 01 15:55:32 GMT 2016 - 2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ComputationException.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import org.jspecify.annotations.Nullable; /** * Wraps an exception that occurred during a computation. * * @author Bob Lee * @since 2.0 * @deprecated This exception is no longer thrown by {@code com.google.common}. Previously, it was * thrown by {@link MapMaker} computing maps. When support for computing maps was removed fromCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 1.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ComputationException.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import org.jspecify.annotations.Nullable; /** * Wraps an exception that occurred during a computation. * * @author Bob Lee * @since 2.0 * @deprecated This exception is no longer thrown by {@code com.google.common}. Previously, it was * thrown by {@link MapMaker} computing maps. When support for computing maps was removed fromCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 1.8K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
assertEquals("Missing AvEOL", exception.getMessage(), "Should throw exception with correct message"); } /** * Test decode with invalid EOL (non-zero length) */ @Test @DisplayName("Decode should throw exception for invalid EOL length") void testDecodeInvalidEOL() { byte[] invalidEolData = new byte[6]; SMBUtil.writeInt2(AvPair.MsvAvEOL, invalidEolData, 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
@Override protected void tearDown() throws Exception { super.tearDown(); assertWithMessage("finishToValueAndCloserExecutor was shut down") .that(shutdownAndAwaitTermination(finishToValueAndCloserExecutor, 10, SECONDS)) .isTrue(); } public void testFinishToValueAndCloser_throwsIfCalledTwice() throws Exception { ClosingFuture<Closeable> closingFuture =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 5.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsTest.java
runner.ensureYellow(); } @AfterClass public static void afterClass() throws Exception { runner.close(); runner.clean(); } @Before public void before() throws Exception { runner.admin().indices().prepareDelete("_all").execute().actionGet(); runner.refresh();
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Nov 23 13:04:17 GMT 2025 - 4.3K bytes - Click Count (0)