- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 364 for RuntimeException (0.07 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 28K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/MediaTypeTest.java
public MediaType apply(Field input) { try { return (MediaType) input.get(null); } catch (Exception e) { throw new RuntimeException(e); } } }); } public void testCreate_invalidType() { assertThrows(IllegalArgumentException.class, () -> MediaType.create("te><t", "plaintext")); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 24.8K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
public static final WithExceptionalConstructor INSTANCE = new WithExceptionalConstructor("whatever"); public WithExceptionalConstructor() { throw new RuntimeException(); } private WithExceptionalConstructor(String unused) {} } private static class WithPublicConstant { @Keep public static final WithPublicConstant INSTANCE = new WithPublicConstant();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 21.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Streams.java
if (exception == null) { exception = e; } else { exception.addSuppressed(e); } } } if (exception != null) { // Normally this is a RuntimeException that doesn't need sneakyThrow. // But theoretically we could see sneaky checked exception sneakyThrow(exception); } } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 37K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
paramIndex, Arrays.toString(params), cause), cause); } catch (IllegalAccessException e) { throw new RuntimeException(e); } } private @Nullable Object[] buildParamList( Invokable<?, ?> invokable, int indexOfParamToSetToNull) { ImmutableList<Parameter> params = invokable.getParameters();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
Cancellable toReturn; lock.lock(); try { toReturn = initializeOrUpdateCancellationDelegate(schedule); } catch (Throwable e) { // Any Exception is either a RuntimeException or sneaky checked exception. // // If an exception is thrown by the subclass then we need to make sure that the serviceRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
/** Returns this URL as a [java.net.URL][URL]. */ @JvmName("url") fun toUrl(): URL { try { return URL(url) } catch (e: MalformedURLException) { throw RuntimeException(e) // Unexpected! } } /** * Returns this URL as a [java.net.URI][URI]. Because `URI` is more strict than this class, the * returned URI may be semantically different from this URL: *Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 63.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
sink.flush() Thread.sleep(100) i += chunk.size } } catch (e: IOException) { ioe = e } catch (e: InterruptedException) { throw RuntimeException(e) } } } @Test fun requestBodyMultipleFailuresReportedOnlyOnce() { val requestBody: RequestBody = object : RequestBody() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 60.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
constructor(rawSource: Source) { rawSource.use { val source = rawSource.buffer() val urlLine = source.readUtf8LineStrict() // Choice here is between failing with a correct RuntimeException // or mostly silently with an IOException url = urlLine.toHttpUrlOrNull() ?: throw IOException("Cache corruption for $urlLine").also { Platform.get().log("cache corruption", WARN, it) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 26.9K bytes - Viewed (0)