- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 174 for getCause (0.57 sec)
-
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
Exception ex = assertThrows(Exception.class, handle::getSessionKey); assertTrue( ex.getMessage().contains("session fail") || (ex.getCause() != null && ex.getCause().getMessage().contains("session fail"))); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
actual = e; } assertNotNull("verify() should be able to cause test failure", actual); assertTrue( "AssertionError should have info about why test failed", actual.getCause().getMessage().contains(message)); } public void testMissingException() { List<Integer> emptyList = new ArrayList<>(); IteratorTester<Integer> tester = new IteratorTester<Integer>(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java
} catch (final ClientAbortException e) { logger.debug("Client aborts this request.", e); } } catch (final Exception e) { if (!(e.getCause() instanceof ClientAbortException)) { throw new WebApiException(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, e); } logger.debug("Client aborts this request.", e); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
SerializableTester.reserialize(instance); } catch (Exception e) { // sneaky checked exception throw new AssertionError( "Serialization failed on return value of " + factory, e.getCause()); } } } return this; } /** * Runs equals and serialization test on the return values. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
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); } } } /** Verifies that {@code setUp} and {@code tearDown} are called in all map test cases. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu May 22 16:18:11 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
* * But for now, we use the value from the system property as our best guess. */ return fromSystemProperty; } catch (InvocationTargetException e) { throwIfUnchecked(e.getCause()); // in case it's an Error or something return fromSystemProperty; // should be impossible } catch (NoSuchMethodException shouldBeImpossible) { return fromSystemProperty;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
// Act + Assert SmbException thrown = assertThrows(SmbException.class, () -> SmbEnumerationUtil.list(parent, "*", 0, null, null)); assertSame(cifsEx, thrown.getCause()); } } @Nested @DisplayName("DosFileFilter integration tests") class DosFileFilterTests { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
checkNotNull(future); try { return getUninterruptibly(future); } catch (ExecutionException wrapper) { if (wrapper.getCause() instanceof Error) { throw new ExecutionError((Error) wrapper.getCause()); } /* * It's an Exception. (Or it's a non-Error, non-Exception Throwable. From my survey of such
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
execJob.testCreateSystemProperties(cmdList, invalidFile); fail("Should throw IORuntimeException"); } catch (IORuntimeException e) { assertNotNull(e.getCause()); assertTrue(e.getCause() instanceof IOException); } } // Test getLogName method public void test_getLogName() { // Test without suffix execJob.logSuffix = "";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Striped64.java
} throw new NoSuchFieldError("the Unsafe"); } }); } catch (PrivilegedActionException e) { throw new RuntimeException("Could not initialize intrinsics", e.getCause()); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jan 15 22:17:15 UTC 2025 - 11.4K bytes - Viewed (0)