Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ECL0008 (0.06 sec)

  1. 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 ##
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. 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);
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/NullArgumentException.java

        /**
         * {@link NullArgumentException}を作成します。
         *
         * @param argName
         *            {@code null} である引数の名前
         */
        public NullArgumentException(final String argName) {
            super(argName, "ECL0008", asArray(argName));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. 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);
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/misc/AssertionUtilTest.java

         * .
         */
        @Test
        public void testAssertArgumentNotNull() {
            exception.expect(NullArgumentException.class);
            exception.expectMessage(is("[ECL0008]argument[hoge] is null."));
            assertArgumentNotNull("hoge", null);
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.misc.AssertionUtil#assertArgument(String, boolean, String)}
         * .
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

         * .
         */
        @Test
        public void testCopyDestNull() {
            exception.expect(NullArgumentException.class);
            exception.expectMessage(is("[ECL0008]argument[enumeration] is null."));
            new EnumerationIterator<Object>(null);
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. 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}].
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:58:02 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. 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);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top