Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for getNtStatus (0.06 sec)

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

                }
            }
            return "unknown";
        }
    
        private long extractNtStatus(Throwable cause) {
            if (cause instanceof SmbException) {
                return ((SmbException) cause).getNtStatus();
            }
            return 0;
        }
    
        private String extractServerMessage(Throwable cause) {
            if (cause instanceof SmbException) {
                // Try to get server message from SMB exception
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeImpl.java

                    log.debug(String.format("VALIDATE_NEGOTIATE_INFO response code 0x%x", e.getNtStatus()));
                }
                log.trace("VALIDATE_NEGOTIATE_INFO returned error", e);
                if (req.getResponse().isReceived() && req.getResponse().isVerifyFailed()
                        || e.getNtStatus() == NtStatus.NT_STATUS_ACCESS_DENIED) {
                    // this is the signature error
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbException.java

            status = winerr ? errcode : getStatusByCode(errcode);
        }
    
        /**
         * Returns the NT status code for this exception.
         *
         * @return the NT status code
         */
        public int getNtStatus() {
            return status;
        }
    
        /**
         * Returns the root cause of this exception if one exists
         *
         * @return the root cause throwable, or null if none exists
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbException.java

            this.status = winerr ? errcode : getStatusByCode(errcode);
        }
    
        /**
         * Get the NT STATUS code associated with this exception
         *
         * @return status code
         */
        public int getNtStatus() {
            return this.status;
        }
    
        /**
         * Get the root cause of this exception (deprecated - use getCause() instead)
         *
         * @return cause
         */
        @Deprecated
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbSessionImpl.java

                                }
                            } else {
                                if (e.getNtStatus() != 0xC000035C && e.getNtStatus() != 0xC0000203 || !trans.isSMB2()) {
                                    throw e;
                                }
                                if (e.getNtStatus() == 0xC0000203) { // USER_SESSION_DELETED
                                    try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  6. 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.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  7. 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;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. 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 {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

         */
        private boolean isRetryableException(CIFSException e) {
            if (e instanceof SmbException) {
                SmbException se = (SmbException) e;
                int status = se.getNtStatus();
                // Retry on network-related errors but not on authentication or access errors
                return status == NtStatus.NT_STATUS_CONNECTION_REFUSED || status == NtStatus.NT_STATUS_NETWORK_NAME_DELETED
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

                    }
                    file.send(request, response);
                } catch (final SmbException se) {
                    if (file.type == SmbFile.TYPE_NAMED_PIPE && se.getNtStatus() == NtStatus.NT_STATUS_PIPE_BROKEN) {
                        return -1;
                    }
                    throw seToIoe(se);
                }
                n = response.dataLength;
                if (n <= 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top