Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 33 for getNtStatus (0.09 seconds)

  1. src/main/java/jcifs/smb/SmbFileInputStream.java

                                n = resp.getDataLength();
                            } catch (final SmbException e) {
                                if (e.getNtStatus() == 0xC0000011) { // NT_STATUS_END_OF_FILE
                                    log.debug("Reached end of file", e);
                                    n = -1;
                                } else {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

                }
                try {
                    resp = th.send(req, resp, RequestParam.NO_TIMEOUT, RequestParam.NO_RETRY);
                } catch (final SmbException e) {
                    if (e.getNtStatus() == 0xC0000120) {
                        // cancelled
                        log.debug("Request was cancelled", e);
                        return null;
                    }
                    throw e;
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTree.java

                }
                try {
                    session.send(request, response);
                } catch (final SmbException se) {
                    if (se.getNtStatus() == NtStatus.NT_STATUS_NETWORK_NAME_DELETED) {
                        /* Someone removed the share while we were
                         * connected. Bastards! Disconnect this tree
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/http/NtlmHttpFilter.java

                    }
                } catch (final SmbAuthException sae) {
                    log.warn("NtlmHttpFilter: " + ntlm.getName() + ": 0x" + jcifs.util.Hexdump.toHexString(sae.getNtStatus(), 8) + ": " + sae);
                    if (sae.getNtStatus() == NtStatus.NT_STATUS_ACCESS_VIOLATION) {
                        /*
                         * Server challenge no longer valid for
                         * externally supplied password hashes.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

                if (r.getStatus() == NtStatus.NT_STATUS_NO_MORE_FILES) {
                    return false;
                }
                this.response = r;
            } catch (final SmbException e) {
                if (e.getNtStatus() == NtStatus.NT_STATUS_NO_MORE_FILES) {
                    log.debug("End of listing", e);
                    return false;
                }
                throw e;
            }
            return true;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbTreeConnection.java

                    // retrying make no sense, as it will never become available again.
                    if (params.contains(RequestParam.NO_RETRY)
                            || !(smbe.getCause() instanceof TransportException) && smbe.getNtStatus() != NtStatus.NT_STATUS_INVALID_PARAMETER) {
                        log.debug("Not retrying", smbe);
                        throw smbe;
                    }
                    log.debug("send", smbe);
                    last = smbe;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 30.4K bytes
    - Click Count (1)
  7. src/main/java/jcifs/http/NetworkExplorer.java

                } catch (final SmbAuthException sae) {
                    log.warn("Auth failed", sae);
                } catch (final SmbException se) {
                    log.warn("Connection failed", se);
                    if (se.getNtStatus() != NtStatus.NT_STATUS_UNSUCCESSFUL) {
                        throw se;
                    }
                }
                if (dirents[i].isDirectory()) {
                    dirCount++;
                } else {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SIDCacheImplTest.java

            }).when(handle).sendrecv(any());
    
            SmbException ex = assertThrows(SmbException.class, () -> cache.resolveSids(handle, policy, sids));
            assertEquals(NtStatus.NT_STATUS_ACCESS_DENIED, ex.getNtStatus());
        }
    
        @Test
        @DisplayName("resolveSids(CIFSContext,server,sids,offset,length) resolves missing, caches, and reuses cache")
        void resolveSids_withOffsetAndCache_behavesCorrectly() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                    }
                } catch (final SmbException se) {
                    if (LogStream.level > 2) {
                        se.printStackTrace(log);
                    }
                    if (se.getNtStatus() != NtStatus.NT_STATUS_UNSUCCESSFUL) {
                        throw se;
                    }
                }
                if (dirents[i].isDirectory()) {
                    dirCount++;
                } else {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

                        dest.setPathInformation(attributes, createTime, lastModified);
                    } catch (final SmbException se) {
                        if (se.getNtStatus() != NtStatus.NT_STATUS_ACCESS_DENIED
                                && se.getNtStatus() != NtStatus.NT_STATUS_OBJECT_NAME_COLLISION) {
                            throw se;
                        }
                    }
                }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
Back to Top