- Sort Score
- Num 10 results
- Language All
Results 911 - 920 of 1,422 for Because (0.29 seconds)
-
src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java
assertNull(exception.getCause(), "Cause should be null for string constructor"); } @Test void testThrowableConstructor() { // Test the constructor with a cause Throwable cause = new RuntimeException("Root cause of timeout"); ConnectionTimeoutException exception = new ConnectionTimeoutException(cause);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java
assertEquals(cause, exception.getCause(), "Cause should match the provided throwable"); } @Test void testMessageAndCauseConstructor() { // Test the constructor with both message and cause arguments String message = "Test message with cause"; Throwable cause = new IllegalArgumentException("Invalid argument");
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java
} } @Test @DisplayName("Cause-only constructor: preserves provided cause; no interactions with cause") void causeOnlyConstructor_preservesCause_andNoInteractions() { // Arrange & Act SMBProtocolDecodingException ex = new SMBProtocolDecodingException(mockCause); // Assert cause propagation assertSame(mockCause, ex.getCause(), "Cause should be exactly the provided instance");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.19.md
- Fixed a data race in kubelet image manager that can cause static pod workers to silently stop working. ([#88915](https://github.com/kubernetes/kubernetes/pull/88915), [@roycaihw](https://github.com/roycaihw)) [SIG Node]
Created: Fri Dec 26 09:05:12 GMT 2025 - Last Modified: Wed Jan 05 05:42:32 GMT 2022 - 489.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java
reference = MojoExecutionException.class.getSimpleName(); Throwable cause = exception.getCause(); if (cause instanceof IOException) { cause = cause.getCause(); if (cause instanceof ConnectException) { reference = ConnectException.class.getSimpleName(); } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 10.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DependencyResolutionException.java
for (Exception exception : result.getCollectionErrors()) { msg.append(exception.getMessage()).append(System.lineSeparator()); if (exception.getCause() != null) { msg.append("\tCaused by: ") .append(exception.getCause().getMessage()) .append(System.lineSeparator()); } } return msg.toString(); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 10:13:56 GMT 2025 - 2.6K bytes - Click Count (0) -
src/test/java/jcifs/CIFSExceptionTest.java
assertEquals(cause, exception.getCause()); } @Test @DisplayName("Should create CIFSException with cause only") void testCIFSExceptionWithCauseOnly() { // Given Exception cause = new RuntimeException("Root cause"); // When CIFSException exception = new CIFSException(cause); // Then assertNotNull(exception); assertEquals(cause, exception.getCause());
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/exception/SQLRuntimeException.java
* * @param cause the underlying exception */ public SQLRuntimeException(final SQLException cause) { super("ECL0072", asArray(getSql(cause), getRealMessage(cause), Integer.toString(cause.getErrorCode()), cause.getSQLState()), cause); } /** * Returns the <code>SQL</code>. * * @param cause the underlying exception * @return the <code>SQL</code>Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 2.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
server.enqueue(mockResponse) val responseAfter = MockResponse(body = "This comes after a busted connection") server.enqueue(responseAfter) server.enqueue(responseAfter) // Enqueue 2x because the broken connection may be reused. val response1 = getResponse(newRequest("/a")) response1.body .source() .timeout() .timeout(100, TimeUnit.MILLISECONDS)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Jun 21 20:36:35 GMT 2025 - 133.2K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/ExecutionTimeoutException.java
/** * Constructs a new exception with the specified detail message and cause. * * @param message the detail message * @param cause the cause (which is saved for later retrieval by the {@link Throwable#getCause()} method) */ public ExecutionTimeoutException(final String message, final Throwable cause) { super(message, cause); } /**Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Mar 15 06:52:00 GMT 2025 - 1.8K bytes - Click Count (0)