Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for validateCredits (0.06 sec)

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

        /**
         * Validates SMB credits value
         *
         * @param credits the credits value to validate
         * @throws IllegalArgumentException if credits value is invalid
         */
        public static void validateCredits(int credits) {
            if (credits < 0) {
                throw new IllegalArgumentException("Credits cannot be negative: " + credits);
            }
            if (credits > MAX_CREDITS) {
    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