- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 3,054 for throws (0.07 sec)
-
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrAliasHandle.java
handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); } } /** * Closes this SAM alias handle. * * @throws IOException if an I/O error occurs during handle closure */ public void close() throws IOException { final MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this); handle.sendrecv(rpc);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
/** * @throws Exception */ @Test public void testGetFirstEntry() throws Exception { assertThat(list.getFirstEntry(), is(nullValue())); list.addFirst("1"); assertThat(list.getFirstEntry().getElement(), is("1")); } /** * @throws Exception */ @Test public void testGetFirst() throws Exception { try {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
} catch (NoSuchFieldException e) { clazz = clazz.getSuperclass(); } } throw new NoSuchFieldException(fieldName); } private static void setPrivateField(Object target, String fieldName, Object value) throws Exception { Class<?> clazz = target.getClass(); while (clazz != null) { try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
* @return the Type 3 message to send to the server * @throws GeneralSecurityException if a cryptographic error occurs * @throws CIFSException if a CIFS protocol error occurs */ protected Type3Message createType3Message(final Type2Message msg2) throws GeneralSecurityException, CIFSException { if (this.auth instanceof NtlmNtHashAuthenticator) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
void testToStringWithNullFileId() throws Exception { // Set oplockLevel but leave fileId as null Field oplockLevelField = Smb2OplockBreakNotification.class.getDeclaredField("oplockLevel"); oplockLevelField.setAccessible(true); oplockLevelField.set(notification, (byte) 0x01); // The implementation calls Hexdump.toHexString which throws NPE on null
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
try { rateLimiter.checkAttempt(username, ip); fail("Should throw SmbException for locked account"); } catch (SmbException e) { assertTrue(e.getMessage().contains("locked out"), "Should indicate account lockout"); } } @Test public void testIpRateLimit() throws Exception { String ip = "192.168.1.3";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/settings/MavenSettingsBuilder.java
Settings buildSettings(MavenExecutionRequest request) throws IOException, XmlPullParserException; /** * @return a <code>Settings</code> object from the user settings file. * @throws IOException if any * @throws XmlPullParserException if any */ Settings buildSettings() throws IOException, XmlPullParserException; /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/srvsvc.java
public void encode(NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_referent(this.netname, 1); if (this.netname != null) { _dst = _dst.deferred; _dst.enc_ndr_string(this.netname); } } @Override public void decode(NdrBuffer _src) throws NdrException { _src.align(4);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 27K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
@Override public Object getContent() throws IOException { handshake(); return this.connection.getContent(); } @Override public Object getContent(final Class[] classes) throws IOException { handshake(); return this.connection.getContent(classes); } @Override public Permission getPermission() throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 25.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmUtil.java
* @param clientChallenge the client challenge bytes * @return the calculated response * @throws GeneralSecurityException if a cryptographic error occurs */ public static byte[] getNTLM2Response(final byte[] passwordHash, final byte[] serverChallenge, final byte[] clientChallenge) throws GeneralSecurityException { final byte[] sessionHash = new byte[8];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0)