Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for NT_STATUS_UNSUCCESSFUL (6.15 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbAuthExceptionTest.java

        /**
         * Provides a set of error codes covering normal, edge and unknown cases.
         */
        static Stream<Arguments> errorCodes() {
            return Stream.of(
                    // Known NT status code - NT_STATUS_UNSUCCESSFUL
                    Arguments.of(0xC0000001, "A device attached to the system is not functioning."),
                    Arguments.of(0x00000000, "NT_STATUS_SUCCESS"),
                    // An error that maps via DOS mapping
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java

            SmbEndOfFileException ex = new SmbEndOfFileException();
    
            // Assert
            assertEquals("Unexpectedly reached end of file", ex.getMessage(), "Default message must match");
            assertEquals(NtStatus.NT_STATUS_UNSUCCESSFUL, ex.getNtStatus(), "Default NT status should be UNSUCCESSFUL");
            assertNull(ex.getCause(), "Cause should be null by default");
            assertNull(ex.getRootCause(), "Root cause should be null by default");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NetworkExplorer.java

                    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 {
                    fileCount++;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  4. 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 {
                    fileCount++;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

                } catch (final SmbException ex) {
                    switch (ex.getNtStatus()) {
                    case NtStatus.NT_STATUS_INVALID_INFO_CLASS:
                    case NtStatus.NT_STATUS_UNSUCCESSFUL: // NetApp Filer
                        // SMB_FS_FULL_SIZE_INFORMATION not supported by the server.
                        level = Trans2QueryFSInformationResponse.SMB_INFO_ALLOCATION;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

            } catch (final SmbException ex) {
                log.debug("getDiskFreeSpace", ex);
                switch (ex.getNtStatus()) {
                case NtStatus.NT_STATUS_INVALID_INFO_CLASS:
                case NtStatus.NT_STATUS_UNSUCCESSFUL: // NetApp Filer
                    if (!th.isSMB2()) {
                        // SMB_FS_FULL_SIZE_INFORMATION not supported by the server.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top