- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 496 for Throwables (0.07 seconds)
-
src/test/java/jcifs/CIFSContextTest.java
verify(mockContext).withCredentials(creds); } @Test @DisplayName("Should renew credentials") void testRenewCredentials() { // Given String hint = "hint"; Throwable error = new Exception(); when(mockContext.renewCredentials(hint, error)).thenReturn(true); // When boolean renewed = mockContext.renewCredentials(hint, error); // Then
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
src/main/java/jcifs/CIFSContext.java
* @param error the error that triggered renewal * @return whether new credentials are obtained */ boolean renewCredentials(String locationHint, Throwable error);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionError.java
* and https://github.com/jspecify/jspecify/issues/490. * * (That would also have ensured that its cause was always an Error, rather than possibly another * kind of Throwable that was later passed to initCause. Then we could have declared the override * `public final Error getCause()`.) */ /** * Creates a new instance with {@code null} as its detail message and no cause. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
configuration.setResolveDependencies(true); try { return projectBuilder.build(pom, configuration).getProject(); } catch (Exception e) { Throwable cause = e.getCause(); if (cause instanceof ModelBuildingException modelBuildingException) { String message = "In: " + pom + "\n\n";
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 7.2K bytes - Click Count (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt
) : InvocationHandler { /** Set when remote peer notifies ALPN is unsupported. */ var unsupported: Boolean = false /** The protocol the server selected. */ var selected: String? = null @Throws(Throwable::class) override fun invoke( proxy: Any, method: Method, args: Array<Any>?, ): Any? { val callArgs = args ?: arrayOf<Any?>() val methodName = method.nameCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 6.1K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
initRepoSession(configuration); try { return projectBuilder.build(pom, configuration).getProject(); } catch (Exception e) { Throwable cause = e.getCause(); if (cause instanceof ModelBuildingException modelBuildingException) { StringBuilder message = new StringBuilder("In: " + pom + "\n\n");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 20:01:00 GMT 2025 - 7.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
} }; private static final UncaughtExceptionHandler UNCAUGHT_EXCEPTION_HANDLER = new UncaughtExceptionHandler() { @Override public void uncaughtException(Thread t, Throwable e) { // No-op } }; private ThreadFactoryBuilder builder; private volatile boolean completed = false; @Override public void setUp() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 7.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
V value, @Nullable Exception except, CountDownLatch waitOn); /** Tests that the {@link Future#get()} method blocks until a value is available. */ public void testGetBlocksUntilValueAvailable() throws Throwable { assertFalse(future.isDone()); assertFalse(future.isCancelled()); ExecutorService executor = newSingleThreadExecutor(); try {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 6.1K bytes - Click Count (0) -
guava/src/com/google/common/base/FinalizableReferenceQueue.java
threadStarted = true; } catch (IllegalAccessException impossible) { throw new AssertionError(impossible); // startFinalizer() is public } catch (Throwable t) { logger.log( Level.INFO, "Failed to start reference finalizer thread." + " Reference cleanup will only occur when new references are created.", t); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 14.7K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Aug 07 02:55:08 GMT 2025 - 20.4K bytes - Click Count (0)