- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 2,174 for Exception (0.06 sec)
-
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
@Override public Integer call() throws Exception { runLatch.countDown(); taskLatch.await(); if (throwException) { throw new IllegalStateException("Fail"); } return 25; } }); @Override protected void setUp() throws Exception { super.setUp(); exec = newCachedThreadPool();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 4.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
} abstract boolean isPermitted(Exception exception); void assertPermitted(Exception exception) { if (!isPermitted(exception)) { String message = "Exception " + exception.getClass().getSimpleName() + " was thrown; expected " + getMessage(); throw new AssertionError(message, exception); } }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java
public class FessLabelsTest extends UnitFessTestCase { private FessLabels fessLabels; @Override public void setUp() throws Exception { super.setUp(); fessLabels = new FessLabels(); } /** * Test that assertPropertyNotNull throws exception for null input */ public void test_assertPropertyNotNull_withNull() { try {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.7K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
@DisplayName("Should handle close with exception gracefully") void shouldHandleCloseExceptionGracefully() throws Exception { SmbSession mockSession = mock(SmbSession.class); Exception testException = new Exception("Test close exception"); doThrow(testException).when(mockSession).close();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
} catch (Exception e) { fail("printThreadDumpAsWarn() should not throw exceptions: " + e.getMessage()); } } public void test_printThreadDumpAsError() { // This test verifies that printThreadDumpAsError() method exists and can be called without exceptions try { ThreadDumpUtil.printThreadDumpAsError(); } catch (Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
} /** * @throws Exception */ @Test public void testIndexOf_character() throws Exception { final char[] array = new char[] { 'a', 'b', 'c' }; assertThat(ArrayUtil.indexOf(array, 'a'), is(0)); assertThat(ArrayUtil.indexOf(array, 'd'), is(-1)); } /** * @throws Exception */ @TestRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
der.close(); } return collector.toByteArray(); } @Test @DisplayName("Round-trip: all fields set encodes and parses back correctly") void testRoundTripAllFields() throws Exception { ASN1ObjectIdentifier[] mechs = new ASN1ObjectIdentifier[] { OID_KRB, OID_NTLM }; int flags = NegTokenInit.DELEGATION | NegTokenInit.MUTUAL_AUTHENTICATION | NegTokenInit.INTEGRITY;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/LookupException.java
super(message); } /** * @param message the message to give * @param e the {@link Exception} */ public LookupException(String message, Exception e) { super(message, e); } /** * @param e the {@link Exception} */ public LookupException(Exception e) { super(e); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Oct 02 21:26:05 UTC 2024 - 1.5K bytes - Viewed (0) -
docs/de/docs/tutorial/handling-errors.md
Nehmen wir an, Sie haben eine benutzerdefinierte Exception `UnicornException`, die Sie (oder eine Bibliothek, die Sie verwenden) `raise`n könnten. Und Sie möchten diese Exception global mit FastAPI handhaben.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.4K bytes - Viewed (0)