Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for messageCode (0.06 sec)

  1. src/main/java/org/codelibs/core/message/MessageFormatter.java

        /**
         * メッセージを返します。
         *
         * @param messageCode
         *            メッセージコード
         * @param args
         *            引数
         * @return メッセージ
         */
        public static String getMessage(final String messageCode, final Object... args) {
            return getFormattedMessage(messageCode == null ? "" : messageCode, getSimpleMessage(messageCode, args));
        }
    
        /**
         * メッセージコードつきのメッセージを返します。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/exception/ClRuntimeException.java

            this(messageCode, new Object[0], cause);
        }
    
        /**
         * Creates {@link ClRuntimeException}.
         *
         * @param messageCode message code
         * @param args arguments for messages
         * @param cause cause of exception
         */
        public ClRuntimeException(final String messageCode, final Object[] args, final Throwable cause) {
            super(cause);
            this.messageCode = messageCode;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/ClSQLException.java

        private final String messageCode;
    
        private final Object[] args;
    
        private final String sql;
    
        /**
         * {@link ClSQLException}を作成します。
         *
         * @param messageCode
         *            メッセージコード
         * @param args
         *            引数の並び
         */
        public ClSQLException(final String messageCode, final Object[] args) {
            this(messageCode, args, null, 0, null, null);
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/exception/InvalidQueryException.java

        private final transient VaMessenger<FessMessages> messageCode;
    
        public InvalidQueryException(final VaMessenger<FessMessages> messageCode, final String message, final Throwable cause) {
            super(message, cause);
            this.messageCode = messageCode;
        }
    
        public InvalidQueryException(final VaMessenger<FessMessages> messageCode, final String message) {
            super(message);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/exception/SsoMessageException.java

        public SsoMessageException(final VaMessenger<FessMessages> messageCode, final String message, final Throwable cause) {
            super(message, cause);
            this.messageCode = messageCode;
        }
    
        public SsoMessageException(final VaMessenger<FessMessages> messageCode, final String message) {
            super(message);
            this.messageCode = messageCode;
        }
    
        /**
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/ClIllegalArgumentException.java

            super(MessageFormatter.getMessage(messageCode, args), cause);
            this.argName = argName;
            this.messageCode = messageCode;
            this.args = args;
        }
    
        /**
         * 引数の名前を返します。
         *
         * @return 引数の名前
         */
        public String getArgName() {
            return argName;
        }
    
        /**
         * メッセージコードを返します。
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/exception/FileAccessException.java

        public FileAccessException(final String messageCode, final Object[] args, final Throwable cause) {
            super(messageCode, args, cause);
        }
    
        public FileAccessException(final String messageCode, final Object[] args) {
            super(messageCode, args);
        }
    
        public FileAccessException(final String messageCode, final Throwable cause) {
            super(messageCode, new Object[0], cause);
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/EmptyArgumentException.java

         *
         * @param argName
         *            引数の名前
         * @param messageCode
         *            メッセージコード
         * @param args
         *            引数の配列
         */
        public EmptyArgumentException(final String argName, final String messageCode, final Object[] args) {
            this(argName, messageCode, args, null);
        }
    
        /**
         * {@link EmptyArgumentException}を作成します。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/log/Logger.java

         * フォーマットされたメッセージ文字列を返します。
         *
         * @param messageCode
         *            メッセージコード。{@literal null}や空文字列であってはいけません
         * @param args
         *            引数
         * @return フォーマットされたメッセージ文字列
         */
        public static LogMessage format(final String messageCode, final Object... args) {
            assertArgumentNotEmpty("messageCode", messageCode);
    
            final char messageType = messageCode.charAt(0);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.2K 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");
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top