Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 276 for setMessage (0.12 sec)

  1. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      }
    
      private static void assertErrorMessage(Throwable e, String message) {
        // TODO(kevinb): use a Truth assertion here
        if (!e.getMessage().contains(message)) {
          fail("expected <" + e.getMessage() + "> to contain <" + message + ">");
        }
      }
    
      /**
       * Test class with valid equals and hashCode methods. Testers created with instances of this class
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

                context.logger.warn("Some problems were encountered while building the effective toolchains");
    
                for (BuilderProblem problem : toolchainsResult.getProblems()) {
                    context.logger.warn(problem.getMessage() + " @ " + problem.getLocation());
                }
    
                context.logger.warn("");
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  3. 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)
  4. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

         * message}.
         */
        @Override
        public String getMessage() {
          // requireNonNull is safe because ExampleStackTrace sets a non-null message.
          StringBuilder message = new StringBuilder(requireNonNull(super.getMessage()));
          for (Throwable t = conflictingStackTrace; t != null; t = t.getCause()) {
            message.append(", ").append(t.getMessage());
          }
          return message.toString();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

                LOGGER.warn("Some problems were encountered while building the effective settings");
    
                for (SettingsProblem problem : settingsResult.getProblems()) {
                    LOGGER.warn("{} @ {}", problem.getMessage(), problem.getLocation());
                }
                LOGGER.warn("");
            }
        }
    
        private MavenExecutionRequest populateFromSettings(MavenExecutionRequest request, Settings settings)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

            e.printStackTrace(pw);
            String stackTrace = sw.toString();
    
            String fullMessage = message + "\n" + "Exception: "
                    + e.getClass().getName() + "\n" + "Message: "
                    + e.getMessage() + "\n" + "Stack trace:\n"
                    + stackTrace;
    
            processingEnv.getMessager().printMessage(Diagnostic.Kind.ERROR, fullMessage);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Sep 16 06:25:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblem.java

         */
        Exception getException();
    
        /**
         * Gets the message that describes this problem.
         *
         * @return The message describing this problem, never {@code null}.
         */
        String getMessage();
    
        /**
         * Gets the severity level of this problem.
         *
         * @return The severity level of this problem, never {@code null}.
         */
        Severity getSeverity();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

                line = e.getLineNumber();
                column = e.getColumnNumber();
            }
    
            ModelProblem problem = new DefaultModelProblem(
                    req.getMessage(),
                    req.getSeverity(),
                    req.getVersion(),
                    source,
                    line,
                    column,
                    modelId,
                    req.getException());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java

            } catch (final ResultOffsetExceededException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug(e.getMessage(), e);
                }
                throwValidationErrorApi(messages -> messages.addErrorsResultSizeExceeded(GLOBAL));
            }
    
            return null;
        }
    
        // GET /api/admin/storage/download/{id}/
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/Type1Message.java

                pos += writeSecurityBufferContent(type1, pos, wsOffOff, workstation);
                return type1;
            }
            catch ( IOException ex ) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
    
        @Override
        public String toString () {
            String suppliedDomainString = getSuppliedDomain();
            String suppliedWorkstationString = getSuppliedWorkstation();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 02 12:55:08 UTC 2018
    - 7.8K bytes
    - Viewed (0)
Back to top