- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 2,174 for Exception (0.05 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
} public void testEvilFuture_setFuture() throws Exception { RuntimeException exception = new RuntimeException("you didn't say the magic word!"); AbstractFuture<String> evilFuture = new AbstractFuture<String>() { @Override public void addListener(Runnable r, Executor e) { throw exception; } };
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0) -
src/main/java/jcifs/pac/PACDecodingException.java
} /** * Constructs a new PAC decoding exception with the specified detail message. * @param message the detail message */ public PACDecodingException(final String message) { this(message, null); } /** * Constructs a new PAC decoding exception with the specified cause. * @param cause the cause of the exception */ public PACDecodingException(final Throwable cause) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (1) -
compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java
MetadataGraphVertex v3; MetadataGraphVertex v4; // ------------------------------------------------------------------------------------------ @BeforeEach void setUp() throws Exception { graph = new MetadataGraph(4, 3); /* * v2 * v1< * v3-v4 * */ v1 = graph.addVertex(new ArtifactMetadata("g", "a1", "1.0"));Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java
} public void test_loginPaths() throws Exception { // Test login-related paths assertEquals("/login/index.jsp", FessHtmlPath.path_Login_IndexJsp.getRoutingPath()); assertEquals("/login/newpassword.jsp", FessHtmlPath.path_Login_NewpasswordJsp.getRoutingPath()); } public void test_configPaths() throws Exception { // Test configuration pathsRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
assertEquals(key, result.get(1)); assertEquals(key + suffix, cache.getUnchecked(key)); } static <T> Callable<T> throwing(Exception exception) { return new Callable<T>() { @Override public T call() throws Exception { throw exception; } }; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 85.7K bytes - Viewed (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
void testFallbackWhenOpen() throws Exception { // Open the circuit circuitBreaker.tripBreaker(); String result = circuitBreaker.call(() -> "primary", () -> "fallback"); assertEquals("fallback", result); } @Test @DisplayName("Test transition to HALF_OPEN after timeout") void testTransitionToHalfOpen() throws Exception { // Open the circuit
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java
return "leave"; } public final void testMutualExclusion() throws Exception { thread1.callAndAssertReturns(enter()); thread2.callAndAssertBlocks(enter()); thread1.callAndAssertReturns(leave()); thread2.assertPriorCallReturns(enter()); } public final void testTryEnter() throws Exception { thread1.callAndAssertReturns(true, tryEnter());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/ParseRuntimeException.java
* governing permissions and limitations under the License. */ package org.codelibs.core.exception; import static org.codelibs.core.collection.ArrayUtil.asArray; import java.text.ParseException; /** * Exception thrown when parsing fails. * * @author higa */ public class ParseRuntimeException extends ClRuntimeException {Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 1.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
} /** Records thrown exception information. */ private static final class RecordingSubscriberExceptionHandler implements SubscriberExceptionHandler { private SubscriberExceptionContext context; private Throwable exception; @Override public void handleException(Throwable exception, SubscriberExceptionContext context) { this.exception = exception; this.context = context; }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
void readNullArrayThrows() throws Exception { SmbFileInputStream in = newStream(); assertThrows(NullPointerException.class, () -> in.read(null)); } @Test @DisplayName("readDirect with len <= 0 returns 0") void readDirectZeroLen() throws Exception { SmbFileInputStream in = newStream();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0)