Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getSimpleMessage (0.09 sec)

  1. src/main/java/org/codelibs/core/exception/ClRuntimeException.java

            super(cause);
            this.messageCode = messageCode;
            this.args = args;
            simpleMessage = MessageFormatter.getSimpleMessage(messageCode, args);
            message = "[" + messageCode + "]" + simpleMessage;
        }
    
        /**
         * Returns a message code.
         *
         * @return message code
         */
        public String getMessageCode() {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/message/MessageFormatter.java

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

            buf.append(cause.getMessage()).append(" : [");
            SQLException next = cause.getNextException();
            while (next != null) {
                buf.append(MessageFormatter.getSimpleMessage("ECL0071", next.getMessage(), Integer.toString(next.getErrorCode()),
                        next.getSQLState())).append("], [");
                next = next.getNextException();
            }
            Throwable t = cause.getCause();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/ClassIterator.java

         */
        public ClassIterator(final Class<?> clazz, final boolean includeObject) {
            assertArgumentNotNull("clazz", clazz);
            assertArgument("clazz", !clazz.isInterface(), MessageFormatter.getSimpleMessage("ECL0103", clazz));
    
            this.clazz = clazz;
            this.includeObject = includeObject;
        }
    
        @Override
        public boolean hasNext() {
            if (!includeObject && clazz == Object.class) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/log/Logger.java

            assertArgumentNotEmpty("messageCode", messageCode);
    
            final char messageType = messageCode.charAt(0);
            final String message = MessageFormatter.getSimpleMessage(messageCode, args);
            switch (messageType) {
            case 'D':
                return new LogMessage(LogLevel.DEBUG, message);
            case 'I':
                return new LogMessage(LogLevel.INFO, message);
    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/collection/ArrayUtil.java

         */
        public static Object[] toObjectArray(final Object array) {
            assertArgumentNotNull("array", array);
            assertArgument("array", array.getClass().isArray(), MessageFormatter.getSimpleMessage("ECL0104", array));
    
            final int length = Array.getLength(array);
            final Object[] objectArray = new Object[length];
            for (int i = 0; i < length; i++) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top