- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 160 for EX (0.01 sec)
-
src/main/java/org/codelibs/core/lang/FieldUtil.java
assertArgumentNotNull("field", field); try { return (T) field.get(target); } catch (final IllegalAccessException ex) { throw new IllegalAccessRuntimeException(field.getDeclaringClass(), ex); } } /** * Returns the value of a {@literal static} {@link Field} as an int. * * @param field the field (must not be {@literal null})
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 9.8K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
return k.getEncoded(); } catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException ex) { throw new SmbException("Failed to query Kerberos session key from ExtendedGSSContext", ex); } } throw new SmbException("ExtendedGSSContext is not implemented by GSSContext"); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1) -
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: 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/smb/SmbTreeConnectionTest.java
@Test @DisplayName("release below zero throws RuntimeCIFSException") void release_belowZero_throws() { SmbTreeConnection c = newConn(); RuntimeCIFSException ex = assertThrows(RuntimeCIFSException.class, c::release); assertTrue(ex.getMessage().toLowerCase().contains("usage count")); } @Test @DisplayName("isConnected reflects underlying tree state") void isConnected_usesTree() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/jcifs/util/HMACT64.java
} @Override public Object clone() { try { return new HMACT64(this); } catch (final CloneNotSupportedException ex) { throw new IllegalStateException(ex.getMessage()); } } @Override protected byte[] engineDigest() { final byte[] digest = this.md5.digest(); this.md5.update(this.opad);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
throw new SmbAuthException(NtStatus.NT_STATUS_LOGON_FAILURE); } if (ex != null) { throw ex; } uid = response.uid; if (request.digest != null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
} catch (final Exception ex) { final String msg = ex.getMessage(); final boolean timeout = msg != null && msg.equals("Read timed out"); /* If just a timeout, try to disconnect gracefully */ final boolean hard = !timeout; if (!timeout && LogStream.level >= 3) { ex.printStackTrace(log); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0)