- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 460 for throwable (0.05 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverException.java
@Experimental public class DependencyResolverException extends MavenException { @Serial private static final long serialVersionUID = 1101171569179057614L; public DependencyResolverException(String message, Throwable cause) { super(message, cause); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Oct 02 21:26:05 UTC 2024 - 1.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbOperationException.java
} } return "unknown"; } private long extractNtStatus(Throwable cause) { if (cause instanceof SmbException) { return ((SmbException) cause).getNtStatus(); } return 0; } private String extractServerMessage(Throwable cause) { if (cause instanceof SmbException) { // Try to get server message from SMB exception
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java
assertTrue(exception instanceof FessSystemException); assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } public void test_throwAndCatch() { // Test throwing and catching the exception String expectedType = "OAuth"; String expectedMessage = "OAuth token is invalid";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
} @Test @DisplayName("Should handle null root cause") void testConstructorWithNullRootCause() { TransportException exception = new TransportException((Throwable) null); assertNotNull(exception); assertNull(exception.getRootCause()); } @Test @DisplayName("Should handle null message with root cause")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoExceptionTest.java
// When SpnegoException ex = new SpnegoException(cause); // Then assertNotNull(ex); assertEquals(cause, ex.getCause()); // IOException(Throwable) sets message to cause.toString() assertEquals(cause.toString(), ex.getMessage()); } @Test @DisplayName("Should create SpnegoException with message and cause") void testWithMessageAndCause() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
okhttp/src/androidMain/baseline-prof.txt
HSPLandroidx/startup/InitializationProvider;->onCreate()Z HSPLandroidx/tracing/Trace;->isEnabled()Z HSPLkotlin/Result$Failure;-><init>(Ljava/lang/Throwable;)V HSPLkotlin/Result;->exceptionOrNull-impl(Ljava/lang/Object;)Ljava/lang/Throwable; HSPLkotlin/ResultKt;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object; HSPLkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Dec 30 23:28:56 UTC 2024 - 127.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbAuthExceptionTest.java
/** * Validate message+cause constructor and that no interaction with cause occurs during construction. */ @Test @DisplayName("String+Throwable ctor: sets message, cause and unsuccessful status") void messageAndCauseConstructor_setsFields(@Mock Throwable mockCause) { // Arrange String msg = "auth failed"; // Act SmbAuthException ex = new SmbAuthException(msg, mockCause);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
} @J2ktIncompatible @GwtIncompatible // Thread private void testSupplierThreadSafe(Function<Supplier<Boolean>, Supplier<Boolean>> memoizer) throws Throwable { AtomicInteger count = new AtomicInteger(0); AtomicReference<Throwable> thrown = new AtomicReference<>(null); int numThreads = 3; Thread[] threads = new Thread[numThreads]; long timeout = SECONDS.toNanos(60);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/BeanFieldSetAccessibleFailureException.java
* the target field * @param cause * the cause */ public BeanFieldSetAccessibleFailureException(final Class<?> componentClass, final Field targetField, final Throwable cause) { super("ECL0115", new Object[] { targetField }, cause); this.targetClass = componentClass; this.targetField = targetField; } /** * Returns the target class. *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/BeanMethodSetAccessibleFailureException.java
* the target method * @param cause * the cause */ public BeanMethodSetAccessibleFailureException(final Class<?> componentClass, final Method targetMethod, final Throwable cause) { super("ECL0116", new Object[] { targetMethod }, cause); this.targetClass = componentClass; this.targetMethod = targetMethod; } /** * Returns the target class. *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 1.9K bytes - Viewed (0)