Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for argName (0.09 seconds)

  1. src/main/java/org/codelibs/core/exception/NullArgumentException.java

        private static final long serialVersionUID = 1L;
    
        /**
         * Creates a {@link NullArgumentException}.
         *
         * @param argName
         *            Name of the argument that is {@code null}
         */
        public NullArgumentException(final String argName) {
            super(argName, "ECL0008", asArray(argName));
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/exception/EmptyArgumentException.java

         * Creates an {@link EmptyArgumentException}.
         *
         * @param argName
         *            Name of the argument
         * @param messageCode
         *            Message code
         * @param args
         *            Array of arguments
         */
        public EmptyArgumentException(final String argName, final String messageCode, final Object[] args) {
            this(argName, messageCode, args, null);
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/exception/ClIllegalArgumentException.java

         * @param args
         *            Array of arguments
         */
        public ClIllegalArgumentException(final String argName, final String messageCode, final Object[] args) {
            this(argName, messageCode, args, null);
        }
    
        /**
         * Creates a {@link ClIllegalArgumentException}.
         *
         * @param argName
         *            Name of the argument
         * @param messageCode
         *            Message code
         * @param args
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. CLAUDE.md

    - **Constants classes**: Same pattern
    
    ### Argument Validation
    
    Use `AssertionUtil` at method entry:
    - `AssertionUtil.assertArgumentNotNull("argName", value)`
    - `AssertionUtil.assertArgumentNotEmpty("argName", value)`
    
    ### Exception Handling
    
    - Wrap checked exceptions in runtime exceptions from `org.codelibs.core.exception`
    - Use error codes (e.g., "ECL0008" = null argument)
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Mar 12 03:38:56 GMT 2026
    - 3K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/CommonsCliUpgradeOptions.java

                        .hasArg()
                        .argName("version")
                        .desc("Target POM model version (4.0.0 or 4.1.0)")
                        .get());
                options.addOption(Option.builder(DIRECTORY)
                        .longOpt("directory")
                        .hasArg()
                        .argName("path")
                        .desc("Directory to use as starting point for POM discovery")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:48:39 GMT 2025
    - 7K bytes
    - Click Count (0)
  6. tests/test_security_oauth2_optional.py

                    "loc": ["body", "grant_type"],
                    "msg": "Field required",
                    "input": None,
                }
            ]
        }
    
    
    @pytest.mark.parametrize(
        argnames=["grant_type"],
        argvalues=[
            pytest.param("incorrect", id="incorrect value"),
            pytest.param("passwordblah", id="password with suffix"),
            pytest.param("blahpassword", id="password with prefix"),
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.8K bytes
    - Click Count (0)
Back to Top