- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 319 for Throwables (0.27 sec)
-
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
public void testForwardExceptionFastPath() throws Exception { class FailFuture extends InternalFutureFailureAccess implements ListenableFuture<String> { final Throwable failure; FailFuture(Throwable throwable) { failure = throwable; } @Override public boolean cancel(boolean mayInterruptIfRunning) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt
"<-- HTTP FAILED: java.net.UnknownHostException: shortcircuit. ${request.url} (ms)", ) // We should consider if these logs should retain Exceptions assertThat(logs.last().throwable).isNull() } @Test fun testLoggingEventListener() { val client = clientBuilder.eventListenerFactory(LoggingEventListener.Factory()).build() try { client.newCall(request).execute()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java
assertTrue(exception instanceof FessSystemException); assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } public void test_serialization() { // Test serialVersionUID exists ResultOffsetExceededException exception = new ResultOffsetExceededException("Test serialization");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/ClIllegalStateException.java
*/ public ClIllegalStateException(final String message, final Throwable cause) { super(message, cause); } /** * Creates a {@link ClIllegalStateException}. * * @param cause * The original exception */ public ClIllegalStateException(final Throwable cause) { super(cause); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 1.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt
"يa", ) @Test fun test() { val list = WebPlatformToAsciiData.load() val failures = mutableListOf<Throwable>() for (entry in list) { var failure: Throwable? = null try { testToAscii(entry.input!!, entry.output, entry.comment) } catch (e: Throwable) { failure = e } if (entry.input in knownFailures) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FluentFuture.java
* @param executor the executor that runs {@code fallback} if the input fails */ @J2ktIncompatible @Partially.GwtIncompatible("AVAILABLE but requires exceptionType to be Throwable.class") public final <X extends Throwable> FluentFuture<V> catching( Class<X> exceptionType, Function<? super X, ? extends V> fallback, Executor executor) { return (FluentFuture<V>) Futures.catching(this, exceptionType, fallback, executor);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt
* so tests pass on GraalVM, where suppressed exceptions are silently discarded. * * https://github.com/oracle/graal/issues/3008 */ @JvmStatic fun Throwable.assertSuppressed(block: (List<@JvmSuppressWildcards Throwable>) -> Unit) { if (isGraalVmImage) return block(suppressed.toList()) } @JvmStatic fun threadFactory(name: String): ThreadFactory = object : ThreadFactory {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FailedPlan.kt
* proxy in a list, looking up a subsequent one may succeed. */ internal class FailedPlan( e: Throwable, ) : RoutePlanner.Plan { val result = RoutePlanner.ConnectResult(plan = this, throwable = e) override val isReady = false override fun connectTcp() = result override fun connectTlsEtc() = result
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java
import org.codelibs.fess.unit.UnitFessTestCase; public class JobProcessingExceptionTest extends UnitFessTestCase { public void test_constructor_withCause() { // Test constructor with Throwable cause final Exception cause = new RuntimeException("Root cause"); final JobProcessingException exception = new JobProcessingException(cause); assertNotNull(exception);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
// to currentFuture doesn't race with itself so that currentFuture is assigned in the // correct order. Throwable scheduleFailure = null; Cancellable toReturn; lock.lock(); try { toReturn = initializeOrUpdateCancellationDelegate(schedule); } catch (Throwable e) { // Any Exception is either a RuntimeException or sneaky checked exception. //
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.7K bytes - Viewed (0)