- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for getException (0.35 sec)
-
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
} @Test @DisplayName("Test Response interface methods - getException") void testGetException() { // Given Exception expectedException = new Exception("Test exception"); when(response.getException()).thenReturn(expectedException); // When Exception actualException = response.getException(); // Then assertEquals(expectedException, actualException);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
assertFalse(echoResponse.isReceived()); assertNull(echoResponse.getException()); echoResponse.exception(testException); assertTrue(echoResponse.isError()); assertTrue(echoResponse.isReceived()); assertEquals(testException, echoResponse.getException()); } @Test @DisplayName("Should clear received state")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
"Failed to process POM for " + artifact.getId() + ": " + missingParentPom.getMessage(), missingParentPom.getException(), artifact); } String message; if (isMissingPom(e)) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 26 10:49:22 UTC 2025 - 30.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestTest.java
return expiration; } @Override public void setExpiration(Long exp) { this.expiration = exp; } @Override public Exception getException() { return exception; } @Override public void exception(Exception e) { this.exception = e; } // Methods from Message interface
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
void testExceptionState() { Exception testException = new RuntimeException("Test error"); assertNull(testBlock.getException()); testBlock.exception(testException); assertEquals(testException, testBlock.getException()); } @Test @DisplayName("Test error state") void testErrorState() { assertFalse(testBlock.isError());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
*/ public NetbiosAddress[] getAnswer() { return this.ans; } /** * @return the uhe */ public UnknownHostException getException() { return this.uhe; } } NetbiosAddress[] lookupServerOrWorkgroup(final String name, final InetAddress svr) throws UnknownHostException { final Sem sem = new Sem(2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
response.exception(testException); assertTrue(response.isError()); assertTrue(response.isReceived()); assertSame(testException, response.getException()); } @Test @DisplayName("Should handle error") void testError() throws InterruptedException { CountDownLatch latch = new CountDownLatch(1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
if (logger.isDebugEnabled()) { for (SettingsProblem problem : result.getProblems()) { logger.debug(problem.getMessage(), problem.getException()); } } Authentication authentication = new Authentication(server.getUsername(), server.getPassword());
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 31.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
} @Override public void exception(Exception e) { this.exception = e; } @Override public Exception getException() { return this.exception; } @Override public void setExpiration(Long expiration) { this.expiration = expiration; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
public boolean isVerifyFailed() { return this.verifyFailed; } /** * {@inheritDoc} * * @see jcifs.util.transport.Response#getException() */ @Override public Exception getException() { return this.exception; } /** * {@inheritDoc} * * @see jcifs.util.transport.Response#isError() */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0)