Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for sargument (0.16 sec)

  1. src/main/java/org/codelibs/core/beans/impl/ParameterizedClassDescImpl.java

        public ParameterizedClassDesc[] getArguments() {
            return arguments;
        }
    
        /**
         * 型引数を表す{@link ParameterizedClassDesc}の配列を設定します。
         *
         * @param arguments
         *            型引数を表す{@link ParameterizedClassDesc}の配列
         */
        public void setArguments(final ParameterizedClassDesc[] arguments) {
            this.arguments = arguments;
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java

            final NullArgumentException nullArgumentException = new NullArgumentException("hoge");
            assertThat(nullArgumentException.getArgName(), is("hoge"));
            assertThat(nullArgumentException.getMessage(), is("[ECL0008]argument[hoge] is null."));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testErrorMessage_en() throws Exception {
            // ## Arrange ##
            Locale.setDefault(Locale.ENGLISH);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/ClRuntimeException.java

         * Returns a message code.
         *
         * @return message code
         */
        public String getMessageCode() {
            return messageCode;
        }
    
        /**
         * Returns arguments of a message
         *
         * @return array of arguments
         */
        public Object[] getArgs() {
            return args;
        }
    
        @Override
        public String getMessage() {
            return message;
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java

         * .
         */
        @Test
        public void testToBinaryException() {
            exception.expect(ClIllegalArgumentException.class);
            exception.expectMessage(is("[ECL0009]argument[o] is illegal. because class java.lang.Object."));
            BinaryConversionUtil.toBinary(new Object());
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java

         * .
         */
        @Test
        public void testCreateAndCopySrcNull() {
            exception.expect(NullArgumentException.class);
            exception.expectMessage(is("[ECL0008]argument[calendar] is null."));
            CalendarConversionUtil.localize(null);
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java

         */
        @Test
        public void testGuessContentType() {
            exception.expect(EmptyArgumentException.class);
            exception.expectMessage(is("[ECL0010]argument[path] is null or empty string."));
            MimeTypeUtil.guessContentType(null);
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            exception.expectMessage(is("[ECL0008]argument[src] is null."));
            BeanUtil.copyMapToBean(null, new Object());
        }
    
        /**
         *
         */
        @Test
        public void testCopyBeanToMap_DestNull() {
            exception.expect(NullArgumentException.class);
            exception.expectMessage(is("[ECL0008]argument[dest] is null."));
            BeanUtil.copyBeanToMap(new Object(), null);
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 34.5K bytes
    - Viewed (0)
  8. src/main/resources/CLMessages.properties

    ECL0001={0} not found
    ECL0008=argument[{0}] is null.
    ECL0009=argument[{0}] is illegal. because {1}.
    ECL0010=argument[{0}] is null or empty string.
    ECL0011=argument[{0}] is null or empty array.
    ECL0012=argument[{0}] is null or empty collection.
    ECL0013=argument[{0}] is null or empty map.
    ECL0014=argument[{0}] which is null the index of array is negative integer.
    ECL0015=argument[{0}] which is null the index of array exceed the size of array[{1}].
    Properties
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:58:02 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

         * .
         */
        @Test
        public void testLoadPropertiesInputStreamPropsNull() {
            exception.expect(NullArgumentException.class);
            exception.expectMessage(is("[ECL0008]argument[props] is null."));
            final InputStream inputStream = ResourceUtil.getResourceAsStream("org/codelibs/core/io/test.properties");
            PropertiesUtil.load(null, inputStream);
        }
    
        /**
         * Test method for
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/log/LoggerTest.java

         */
        @SuppressWarnings("static-access")
        @Test
        public void testFormat() {
            exception.expect(ClIllegalArgumentException.class);
            exception.expectMessage(is("[ECL0009]argument[AUTL0009] is illegal. because messageCode : AUTL0009."));
            Logger.format("AUTL0009", "hoge");
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top