Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ECL0009 (0.06 sec)

  1. src/test/java/org/codelibs/core/misc/AssertionUtilTest.java

         * .
         */
        @Test
        public void testAssertArgument() {
            exception.expect(ClIllegalArgumentException.class);
            exception.expectMessage(is("[ECL0009]argument[hoge] is illegal. because hogeだからです。."));
            assertArgument("hoge", false, "hogeだからです。");
        }
    
        /**
         * Test method for
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. 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());
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. 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");
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/org/codelibs/core/log/Logger.java

                return new LogMessage(LogLevel.ERROR, message);
            case 'F':
                return new LogMessage(LogLevel.FATAL, message);
            default:
                throw new ClIllegalArgumentException("messageCode", "ECL0009", asArray(messageCode, "messageCode : " + messageCode));
            }
        }
    
        /**
         * {@link Logger}を初期化します。
         */
        protected static synchronized void initialize() {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/misc/AssertionUtil.java

         */
        public static void assertArgument(final String argName, final boolean expression, final String description) {
            if (!expression) {
                throw new ClIllegalArgumentException(argName, "ECL0009", asArray(argName, description));
            }
        }
    
        /**
         * 状態が不正でないことを表明します。
         *
         * @param expression
         *            事前条件
         * @param description
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top