Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for validatePort (0.08 sec)

  1. src/main/java/jcifs/util/InputValidator.java

        }
    
        /**
         * Validates a port number
         *
         * @param port the port number to validate
         * @throws IllegalArgumentException if port is invalid
         */
        public static void validatePort(int port) {
            if (port < 1 || port > 65535) {
                throw new IllegalArgumentException("Invalid port number: " + port);
            }
        }
    
        /**
         * Validates timeout value
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
Back to top