Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 235 for Argument (0.24 sec)

  1. src/main/java/org/codelibs/core/misc/AssertionUtil.java

        protected AssertionUtil() {
        }
    
        /**
         * Asserts that the argument is not <code>null</code>.
         *
         * @param argName
         *            The name of the argument that must not be {@code null}.
         * @param argValue
         *            The value of the argument.
         * @throws NullArgumentException
         *             If the argument is <code>null</code>.
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/exception/ClIllegalArgumentException.java

         *
         * @return Name of the argument
         */
        public String getArgName() {
            return argName;
        }
    
        /**
         * Returns the message code.
         *
         * @return Message code
         */
        public String getMessageCode() {
            return messageCode;
        }
    
        /**
         * Returns the array of arguments.
         *
         * @return Array of arguments
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/NoSuchMethodRuntimeException.java

         */
        private final String methodName;
    
        /**
         * The argument types.
         */
        private final Class<?>[] argTypes;
    
        /**
         * Creates a {@link NoSuchMethodRuntimeException}.
         *
         * @param targetClass the target class
         * @param methodName the method name
         * @param argTypes the argument types
         * @param cause the underlying exception
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java

        }
    
        @Test
        void testMessageAndCauseConstructor() {
            // Test the constructor with both message and cause arguments
            String message = "Test message with cause";
            Throwable cause = new IllegalArgumentException("Invalid argument");
            RequestTimeoutException exception = new RequestTimeoutException(message, cause);
            assertEquals(message, exception.getMessage(), "Message should match the provided string");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/MethodUtil.java

        }
    
        /**
         * Returns the element type of the parameterized collection declared as the method's argument type.
         *
         * @param method
         *            The method. Cannot be {@literal null}
         * @param position
         *            The position of the parameterized collection in the method's argument list
         * @return The element type of the parameterized collection
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/job/PythonJob.java

        }
    
        /**
         * Adds a single command-line argument to pass to the Python script.
         *
         * @param value the argument value to add
         * @return this PythonJob instance for method chaining
         */
        public PythonJob arg(final String value) {
            argList.add(value);
            return this;
        }
    
        /**
         * Adds multiple command-line arguments to pass to the Python script.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/av/AvPairTest.java

            AvPair avPair = new AvPair(type, raw);
    
            assertEquals(type, avPair.getType(), "Type should match the constructor argument.");
            assertArrayEquals(raw, avPair.getRaw(), "Raw data should match the constructor argument.");
    
            // Test with another type and empty raw data
            int type2 = AvPair.MsvAvEOL;
            byte[] raw2 = new byte[] {};
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/EmptyArgumentException.java

    /**
     * Exception thrown when an argument is empty.
     *
     * @author higa
     */
    public class EmptyArgumentException extends ClIllegalArgumentException {
    
        private static final long serialVersionUID = 4625805280526951642L;
    
        /**
         * Creates an {@link EmptyArgumentException}.
         *
         * @param argName
         *            Name of the argument
         * @param messageCode
         *            Message code
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NbtExceptionTest.java

                    Arguments.of(NbtException.ERR_NAM_SRVC, NbtException.FMT_ERR, "ERR_NAM_SRVC/FMT_ERR: Format ErrorUnknown error code: 1"),
                    Arguments.of(NbtException.ERR_NAM_SRVC, NbtException.SRV_ERR, "ERR_NAM_SRVC/Unknown error code: 2"),
                    Arguments.of(NbtException.ERR_NAM_SRVC, NbtException.IMP_ERR, "ERR_NAM_SRVC/Unknown error code: 4"),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/transport/ResponseTest.java

        }
    
        @Test
        void testSetMid() {
            long mid = 12345L;
            mockResponse.setMid(mid);
    
            // Verify that the method was called with the correct argument
            verify(mockResponse, times(1)).setMid(mid);
        }
    
        @Test
        void testGetMid() {
            long mid = 54321L;
            when(mockResponse.getMid()).thenReturn(mid);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top