- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 364 for RuntimeException (0.05 sec)
-
mockwebserver-junit4/src/main/kotlin/mockwebserver3/junit4/MockWebServerRule.kt
* ``` */ class MockWebServerRule : ExternalResource() { val server: MockWebServer = MockWebServer() override fun before() { try { server.start() } catch (e: IOException) { throw RuntimeException(e) } } override fun after() { server.close() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jun 16 22:36:18 UTC 2025 - 1.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java
assertEquals(100, file.length()); assertTrue(file.exists()); out.close(); // Make sure that finalize deletes the file out = null; // times out and throws RuntimeException on failure GcFinalization.awaitDone( new GcFinalization.FinalizationPredicate() { @Override public boolean isDone() { return !file.exists(); } });
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
reversedList = reversedList.next; } } /** * Submits the given runnable to the given {@link Executor} catching and logging all {@linkplain * RuntimeException runtime exceptions} thrown by the executor. */ @SuppressWarnings("CatchingUnchecked") // sneaky checked exception private static void executeListener(Runnable runnable, Executor executor) { try {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/SneakyThrows.java
* <p>This method is useful primarily when we make a reflective call to a method with no {@code * throws} clause: Java forces us to handle an arbitrary {@link Throwable} from that method, * rather than just the {@link RuntimeException} or {@link Error} that should be possible. (And in * fact the static type of {@link Throwable} is occasionally justified even for a method with noRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Dec 30 18:44:22 UTC 2024 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/base/SneakyThrows.java
* <p>This method is useful primarily when we make a reflective call to a method with no {@code * throws} clause: Java forces us to handle an arbitrary {@link Throwable} from that method, * rather than just the {@link RuntimeException} or {@link Error} that should be possible. (And in * fact the static type of {@link Throwable} is occasionally justified even for a method with noRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Feb 03 21:52:39 UTC 2025 - 2.4K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt
} private var started: Boolean = false @Synchronized override fun before() { if (started) return try { start() } catch (e: IOException) { throw RuntimeException(e) } } @JvmName("-deprecated_port") fun getPort(): Int = port fun toProxyAddress(): Proxy { before() // This implicitly starts the delegate. return delegate.proxyAddress }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 00:19:42 UTC 2025 - 4.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
} catch (AssertionError expected) { return; } fail(); } private static final class ThrowingIterator<E> implements Iterator<E> { private final RuntimeException ex; private ThrowingIterator(RuntimeException ex) { this.ex = ex; } @Override public boolean hasNext() { // IteratorTester doesn't expect exceptions for hasNext(). return true; }
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/jcifs/RuntimeCIFSException.java
/** * Base for all checked exceptions used by this library * * * These should only occur under very rare circumstances. * * @author mbechler * */ public class RuntimeCIFSException extends RuntimeException { /** * */ private static final long serialVersionUID = -2611196678846438579L; /** * Constructs a runtime CIFS exception with no detail message. */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/CrawlerTest.java
try { return File.createTempFile(prefix, suffix); } catch (Exception e) { throw new RuntimeException(e); } } }; ComponentUtil.register(systemHelper, "systemHelper"); fessConfig = new FessConfig.SimpleImpl() { @OverrideRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 30.5K bytes - Viewed (0) -
okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt
try { val buffer = Buffer() body!!.writeTo(buffer) buffer.readString(body.contentType()!!.charset()!!) } catch (e: IOException) { throw RuntimeException(e) } }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0)