- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 344 for Throwable (0.04 seconds)
-
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
.addEqualityGroup(new TypeToken<List<String>>() {}.method(setMethod)) .testEquals(); } private interface Loser<E extends Throwable> { void lose() throws E; } public <T extends Loser<AssertionError>> void testMethod_exceptionTypes() throws NoSuchMethodException { Method failMethod = Loser.class.getMethod("lose");
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 89K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
try { MavenProject project = request.getProject(); ProblemCollector<ModelProblem> problemCollector = null; Throwable error = null; if (project == null) { project = new MavenProject(); project.setFile(pomFile != null ? pomFile.toFile() : null);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 17:20:31 GMT 2025 - 51.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
webSocket: WebSocket, code: Int, reason: String, ) = TODO() override fun onFailure( webSocket: WebSocket, t: Throwable, response: Response?, ) = TODO() } } private fun newCookieHandler(): CookieHandler = object : CookieHandler() { override fun put( uri: URI?,Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 47K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
this.delegate = checkNotNull(delegate); } @Override public void run() { try { delegate.run(); } catch (Throwable t) { // Any Exception is either a RuntimeException or sneaky checked exception. /* * We fail this `ListenableFuture`, whose result is exposed to the user through the
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 45.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
LocalCache.logger.addHandler(logHandler); } @Override public void tearDown() throws Exception { super.tearDown(); LocalCache.logger.removeHandler(logHandler); } private Throwable popLoggedThrowable() { List<LogRecord> logRecords = logHandler.getStoredLogRecords(); assertThat(logRecords).hasSize(1); LogRecord logRecord = logRecords.get(0); logHandler.clear();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 117.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
LocalCache.logger.addHandler(logHandler); } @Override public void tearDown() throws Exception { super.tearDown(); LocalCache.logger.removeHandler(logHandler); } private Throwable popLoggedThrowable() { List<LogRecord> logRecords = logHandler.getStoredLogRecords(); assertThat(logRecords).hasSize(1); LogRecord logRecord = logRecords.get(0); logHandler.clear();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 115.9K bytes - Click Count (0) -
okhttp/api/jvm/okhttp.api
public fun <init> ()V public fun onClosed (Lokhttp3/WebSocket;ILjava/lang/String;)V public fun onClosing (Lokhttp3/WebSocket;ILjava/lang/String;)V public fun onFailure (Lokhttp3/WebSocket;Ljava/lang/Throwable;Lokhttp3/Response;)V public fun onMessage (Lokhttp3/WebSocket;Ljava/lang/String;)V public fun onMessage (Lokhttp3/WebSocket;Lokio/ByteString;)V public fun onOpen (Lokhttp3/WebSocket;Lokhttp3/Response;)V
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 70.2K bytes - Click Count (0) -
okhttp/api/android/okhttp.api
public fun <init> ()V public fun onClosed (Lokhttp3/WebSocket;ILjava/lang/String;)V public fun onClosing (Lokhttp3/WebSocket;ILjava/lang/String;)V public fun onFailure (Lokhttp3/WebSocket;Ljava/lang/Throwable;Lokhttp3/Response;)V public fun onMessage (Lokhttp3/WebSocket;Ljava/lang/String;)V public fun onMessage (Lokhttp3/WebSocket;Lokio/ByteString;)V public fun onOpen (Lokhttp3/WebSocket;Lokhttp3/Response;)V
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 70.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
).build() assertFailsWith<IOException> { getResponse(newRequest("/foo")) }.also { expected -> expected.assertSuppressed { throwables: List<Throwable>? -> assertThat(throwables!!.size).isEqualTo(1) } } } /** * When a pooled connection fails, don't blame the route. Otherwise pooled connection failures can
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Jun 21 20:36:35 GMT 2025 - 133.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Maps.java
// work-around of a compiler type inference quirk that prevents the // following code from being compiled: // Comparator<Class<?>> comparator = null; // Map<Class<? extends Throwable>, String> map = newTreeMap(comparator); return new TreeMap<>(comparator); } /** * Creates an {@code EnumMap} instance. * * @param type the key type for this mapCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 157.6K bytes - Click Count (0)