- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 468 for Throwable (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
} @Test void messageAndCauseConstructor_setsMessageAndCause_withoutInteractingWithCause() { // Arrange - mock cause to verify no interactions are needed to construct Throwable cause = Mockito.mock(Throwable.class); String message = "forced downgrade detected"; // Act SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException(message, cause);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (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) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java
this.dependencyResolutionResult = dependencyResolutionResult; return this; } @Override public List<Throwable> getExceptions() { return exceptions; } @Override public MavenExecutionResult addException(Throwable t) { exceptions.add(t); return this; } @Override public boolean hasExceptions() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/exception/ClSQLException.java
* @param args * Array of arguments * @param cause * The cause of the exception */ public ClSQLException(final String messageCode, final Object[] args, final Throwable cause) { this(messageCode, args, null, 0, cause, null); } /** * Creates a {@link ClSQLException}. * * @param messageCode * Message code * @param argsCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 5.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt
*/ data class ConnectResult( val plan: Plan, val nextPlan: Plan? = null, val throwable: Throwable? = null, ) { val isSuccess: Boolean get() = nextPlan == null && throwable == null }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue May 27 14:58:02 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java
} public void testAddListenerAfterCallback() throws Throwable { inputFuture.set(VALID_INPUT_DATA); listener.assertSuccess(getSuccessfulResult()); } public void testFutureBeforeCallback() throws Throwable { inputFuture.set(VALID_INPUT_DATA); listener.assertSuccess(getSuccessfulResult()); } public void testInputFutureToString() throws Throwable {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 3.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java
} } private static final class WrapperException extends Exception { WrapperException(Throwable t) { super(t); } } private static void rethrow(ExecutionException e) throws ExecutionException { Throwable wrapper = e.getCause(); if (wrapper instanceof WrapperException) { Throwable cause = wrapper.getCause(); if (cause instanceof RuntimeException) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.3K bytes - Click Count (0) -
guava/src/com/google/common/base/internal/Finalizer.java
long defaultStackSize = 0; thread = bigThreadConstructor.newInstance( (ThreadGroup) null, finalizer, threadName, defaultStackSize, inheritThreadLocals); } catch (Throwable t) { logger.log( Level.INFO, "Failed to create a thread without inherited thread-local values", t); } } if (thread == null) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 03:19:29 GMT 2026 - 9.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java
assertNull(exception.getCause()); } @Test public void test_constructor_withNullCause() { // Test with null cause DataStoreException exception = new DataStoreException((Throwable) null); assertNotNull(exception); assertNull(exception.getCause()); assertNull(exception.getMessage()); } @Test public void test_constructor_withNullMessageAndCause() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/SubscriberTest.java
assertThat(s2).isNotInstanceOf(Subscriber.SynchronizedSubscriber.class); } public void testInvokeSubscriberMethod_basicMethodCall() throws Throwable { Method method = getTestSubscriberMethod("recordingMethod"); Subscriber subscriber = Subscriber.create(bus, this, method); subscriber.invokeSubscriberMethod(FIXTURE_ARGUMENT);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 21:52:12 GMT 2025 - 4.8K bytes - Click Count (0)