Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for WINERR_MESSAGES (0.07 seconds)

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

                        "WINERR_CODES and WINERR_MESSAGES should have the same length");
            }
    
            @Test
            void messagesAlignWithCodes() {
                for (int i = 0; i < WinError.WINERR_CODES.length; i++) {
                    int code = WinError.WINERR_CODES[i];
                    String message = WinError.WINERR_MESSAGES[i];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/WinErrorTest.java

            assertNotNull(WinError.WINERR_CODES, "WINERR_CODES should not be null");
            assertNotNull(WinError.WINERR_MESSAGES, "WINERR_MESSAGES should not be null");
            assertEquals(WinError.WINERR_CODES.length, WinError.WINERR_MESSAGES.length, "Codes/messages length mismatch");
    
            // Exact content check to guard against accidental reordering or drift
            assertArrayEquals(
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/WinError.java

                ERROR_PIPE_NOT_CONNECTED, ERROR_MORE_DATA, ERROR_SERVICE_NOT_INSTALLED, ERROR_NO_BROWSER_SERVERS_FOUND, };
    
        /** Array of Windows error messages corresponding to WINERR_CODES */
        String[] WINERR_MESSAGES = { "The operation completed successfully.", "Access is denied.",
                "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.",
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/WinError.java

                ERROR_PIPE_NOT_CONNECTED, ERROR_MORE_DATA, ERROR_NO_BROWSER_SERVERS_FOUND, };
    
        /** Array of Windows error messages corresponding to WINERR_CODES */
        String[] WINERR_MESSAGES = { "The operation completed successfully.", "Access is denied.",
                "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.",
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/smb1/SmbException.java

                if (errcode > WINERR_CODES[mid]) {
                    min = mid + 1;
                } else if (errcode < WINERR_CODES[mid]) {
                    max = mid - 1;
                } else {
                    return WINERR_MESSAGES[mid];
                }
            }
    
            return errcode + "";
        }
    
        /** The SMB error status code */
        private int status;
        /** The root cause exception */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbException.java

            final Map<Integer, String> winErrorCodeMessagesTmp = new HashMap<>();
            for (int i = 0; i < WINERR_CODES.length; i++) {
                winErrorCodeMessagesTmp.put(WINERR_CODES[i], WINERR_MESSAGES[i]);
            }
    
            winErrorCodeMessages = Collections.unmodifiableMap(winErrorCodeMessagesTmp);
    
        }
    
        /**
         * Get the message string for an NT STATUS code
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.7K bytes
    - Click Count (0)
Back to Top