- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 182 for ex (0.19 sec)
-
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt
val errors = mutableListOf<Exception>() openKotlinCompilationUnitsByRoot.values.forEach { unit -> try { unit.close() } catch (ex: Exception) { errors.add(ex) } } openJavaCompilationUnitsByFile.clear() openKotlinCompilationUnitsByRoot.clear() if (errors.isNotEmpty()) {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Apr 28 14:56:52 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type1Message.java
writeSecurityBuffer(type1, 24, 32 + domain.length, workstation); } return type1; } catch (final IOException ex) { throw new IllegalStateException(ex.getMessage()); } } @Override public String toString() { final String suppliedDomain = getSuppliedDomain();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
when(handle.isValid()).thenReturn(false); SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0, false); SmbException ex = assertThrows(SmbException.class, sut::watch, "Expected SmbException when handle invalid"); assertTrue(ex.getMessage().contains("Watch was broken by tree disconnect")); } // Happy path for SMB2: a response is received and the list is returned; tree is closed @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/SignedBytesTest.java
try { SignedBytes.checkedCast(value); fail("Cast to byte should have failed: " + value); } catch (IllegalArgumentException ex) { assertWithMessage("%s not found in exception text: %s", value, ex.getMessage()) .that(ex.getMessage().contains(String.valueOf(value))) .isTrue(); } } public void testCompare() { for (byte x : VALUES) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java
// HttpServletRequestWrapper throws IllegalArgumentException for null request IllegalArgumentException ex = assertThrows(IllegalArgumentException.class, () -> new NtlmHttpServletRequest(null, mockPrincipal)); assertEquals("Request cannot be null", ex.getMessage()); } @Test @DisplayName("auth type is always NTLM")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
for (CircuitBreakerListener listener : listeners) { try { listener.onCallRejected(this); } catch (Exception ex) { log.warn("Listener threw exception", ex); } } throw new CircuitOpenException("Circuit breaker '" + name + "' is open"); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java
// Act SMBProtocolDecodingException ex = assertThrows(SMBProtocolDecodingException.class, () -> resp.readBytesWireFormat(buffer, 0), "Should throw when structure size != 4"); // Assert: message is meaningful assertEquals("Structure size is not 4", ex.getMessage()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SSPContextTest.java
void testGetSigningKeyThrows() { DummySSPContext ctx = new DummySSPContext(null, false, null, null, 0, false); CIFSException ex = assertThrows(CIFSException.class, ctx::getSigningKey); assertTrue(ex.getMessage().contains("signing key")); } @Test @DisplayName("initSecContext throws on invalid ranges") void testInitSecContextInvalidRanges() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type2Message.java
byte[] domain = {}; if (domainStr != null) { try { domain = domainStr.getBytes(UNI_ENCODING); } catch (final IOException ex) { log.debug("Failed to get domain bytes", ex); } } final int domainLength = domain.length; byte[] server = {}; final String host = tc.getNameServiceClient().getLocalHost().getHostName();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
// Exception path when(treeConnection.hasCapability(999)).thenThrow(new SmbException("Not connected")); SmbException ex = assertThrows(SmbException.class, () -> handle.hasCapability(999)); assertTrue(ex.getMessage().contains("Not connected")); } @Test @DisplayName("getTreeId delegates") void getTreeIdDelegates() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0)