Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 199 for getMessage (0.09 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        Method method;
        try {
          method = extractMethod(test);
        } catch (IllegalArgumentException e) {
          logger.finer(Platform.format("%s: including by default: %s", test, e.getMessage()));
          return true;
        }
        if (suppressedTests.contains(method)) {
          logger.finer(Platform.format("%s: excluding because it was explicitly suppressed.", test));
          return false;
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.4K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

                    try {
                        result = interpolator.interpolate(result, recursionInterceptor);
                    } catch (InterpolationException e) {
                        throw new ModelInterpolationException(e.getMessage(), e);
                    }
    
                    if (debug) {
                        List<Object> feedback = interpolator.getFeedback();
                        if (feedback != null && !feedback.isEmpty()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java

                            } catch (InterpolationException e) {
                                problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                                        .setMessage(e.getMessage())
                                        .setException(e));
                            }
                            cache.put(value, c);
                        }
                        return c;
                    }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  4. android/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();
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                        }
                    }
                }
            } catch (ParseException e) {
                System.err.println("Unable to parse maven.config file options: " + e.getMessage());
                cliManager.displayHelp(System.out);
                throw e;
            }
    
            try {
                CommandLine mavenCli = cliManager.parse(cliRequest.args);
                if (mavenConfig == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

             * thread. To accomplish both goals, we wrap that IllegalArgumentException in a new
             * instance.
             */
            throw new IllegalArgumentException(e.getCause().getMessage(), e.getCause());
          }
          /*
           * If some other exception happened, we just propagate the wrapper
           * UncheckedExecutionException, which has the stack trace from this thread and which has its
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        Method method;
        try {
          method = extractMethod(test);
        } catch (IllegalArgumentException e) {
          logger.finer(Platform.format("%s: including by default: %s", test, e.getMessage()));
          return true;
        }
        if (suppressedTests.contains(method)) {
          logger.finer(Platform.format("%s: excluding because it was explicitly suppressed.", test));
          return false;
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.4K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      private enum OtherOrder {
        FIRST,
        SECOND,
        THIRD;
      }
    
      // Given a sequence of lock acquisition descriptions
      // (e.g. "LockA -> LockB", "LockB -> LockC", ...)
      // Checks that the exception.getMessage() matches a regex of the form:
      // "LockA -> LockB \b.*\b LockB -> LockC \b.*\b LockC -> LockA"
      private void checkMessage(IllegalStateException exception, String... expectedLockCycle) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 16.2K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/primitives/IntsTest.java

          Ints.checkedCast(value);
          fail("Cast to int should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage("%s not found in exception text: %s", value, ex.getMessage())
              .that(ex.getMessage().contains(String.valueOf(value)))
              .isTrue();
        }
      }
    
      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 29.3K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

            } catch (final CycleDetectedException e) {
                String message = "The projects in the reactor contain a cyclic reference: " + e.getMessage();
                ProjectCycleException error = new ProjectCycleException(message, e);
                return Result.error(
                        Collections.singletonList(new DefaultModelProblem(null, null, null, null, 0, 0, error)));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 18.5K bytes
    - Click Count (0)
Back to Top