- Sort Score
- Num 10 results
- Language All
Results 501 - 510 of 573 for Throwables (0.07 seconds)
-
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
* ATOMIC_HELPER. That initialization code may log after we assign to ATOMIC_HELPER. */ private static final AtomicHelper ATOMIC_HELPER; static { AtomicHelper helper; Throwable thrownUnsafeFailure = null; Throwable thrownAtomicReferenceFieldUpdaterFailure = null; if (mightBeAndroid()) { try { helper = new UnsafeAtomicHelper();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 33.2K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
new EqualsTester().addEqualityGroup(new EqualsBasedOnToString("foo")).testEquals()); assertThat(e).hasMessageThat().contains("toString representation"); } private static void assertErrorMessage(Throwable e, String message) { // TODO(kevinb): use a Truth assertion here if (!e.getMessage().contains(message)) { fail("expected <" + e.getMessage() + "> to contain <" + message + ">"); } } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
verify(tree, times(1)).release(); } @Test @DisplayName("finalize() logs a warning when not closed (no exception)") void finalize_logsWhenNotClosed() throws Throwable { when(cfg.isTraceResourceUsage()).thenReturn(true); // exercise backtrace branch stubValidTree(2L, true, true); SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, 1, tree, "//host/share", 0, 0, 0, 0, 0L);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
assertThat(future.resultNow()).isEqualTo(expectedResult); assertThrows(IllegalStateException.class, future::exceptionNow); } private static void assertFailed( AbstractFuture<@Nullable Integer> future, Throwable expectedException) throws InterruptedException, TimeoutException { assertDone(future); assertThat(future.isCancelled()).isFalse(); try { getDone(future); fail();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 16.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
* * @param se the SmbException to convert * @return the resulting IOException */ protected IOException seToIoe(final SmbException se) { IOException ioe = se; Throwable root = se.getRootCause(); if (root instanceof TransportException) { ioe = (TransportException) root; root = ((TransportException) ioe).getRootCause(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java
assertTrue(exception instanceof FessSystemException); assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } @Test public void test_stackTracePresence() { // Setup final String message = "Query error with stack trace";
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
throw exception } } internal fun <E> MutableList<E>.addIfAbsent(element: E) { if (!contains(element)) add(element) } internal fun Exception.withSuppressed(suppressed: List<Exception>): Throwable = apply { for (e in suppressed) addSuppressed(e) } internal inline fun <T> Iterable<T>.filterList(predicate: T.() -> Boolean): List<T> { var result: List<T> = emptyList() for (i in this) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 10.1K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
return ByteOrder.nativeOrder().equals(ByteOrder.LITTLE_ENDIAN) ? UnsafeByteArray.UNSAFE_LITTLE_ENDIAN : UnsafeByteArray.UNSAFE_BIG_ENDIAN; } } catch (Throwable t) { // ensure we really catch *everything* } return JavaLittleEndianBytes.INSTANCE; } /** Deter instantiation of this class. */ private LittleEndianByteArray() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 10.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/ResourceUtil.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 14.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
assertThat(future.resultNow()).isEqualTo(expectedResult); assertThrows(IllegalStateException.class, future::exceptionNow); } private static void assertFailed( AbstractFuture<@Nullable Integer> future, Throwable expectedException) throws InterruptedException, TimeoutException { assertDone(future); assertThat(future.isCancelled()).isFalse(); try { getDone(future); fail();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 16.3K bytes - Click Count (0)