Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for setMessage (0.18 sec)

  1. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                        .setMessage("Non-parseable POM " + modelSource.getLocation() + ": " + e.getMessage())
                        .setException(e));
                throw problems.newModelBuildingException();
            } catch (IOException e) {
                String msg = e.getMessage();
                if (msg == null || msg.isEmpty()) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  2. maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                buffer.append(" for ").append(sourceHint);
            }
    
            buffer.append(' ').append(message);
    
            problems.add(new ModelProblemCollectorRequest(severity, version)
                    .setMessage(buffer.toString())
                    .setLocation(getLocation(fieldName, tracker)));
        }
    
        private static org.apache.maven.model.InputLocation getLocation(String fieldName, InputLocationTracker tracker) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat May 18 14:09:22 UTC 2024
    - 76K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                        ModelProblem.Version.BASE,
                        "Non-parseable POM " + modelSource.getLocation() + ": " + e.getMessage(),
                        e);
                throw problems.newModelBuilderException();
            } catch (IOException e) {
                String msg = e.getMessage();
                if (msg == null || msg.isEmpty()) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Jun 07 07:31:02 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                            if (result == null || result.getEffectiveModel() == null) {
                                throw new ProjectBuildingException(
                                        e.getModelId(), e.getMessage(), pomFile != null ? pomFile.toFile() : null, e);
                            }
                            // validation error, continue project building and delay failing to help IDEs
                            error = e;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 16:34:29 UTC 2024
    - 57.1K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/parameters/BuildProgressListenerAdapter.java

            OperationDescriptor parent = getParentDescriptor(descriptor.getParentId());
            Destination destination = Destination.fromCode(event.getResult().getDestination());
            String message = event.getResult().getMessage();
            return new DefaultTestOutputOperationDescriptor(descriptor, parent, destination, message);
        }
    
        private static FailureContainer toFailureContainer(@Nullable InternalBasicProblemDetails problemDetails) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 67.5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/VersionConflictResolutionIntegrationTest.groovy

                            assert it instanceof UnresolvedDependencyResult
                            assert it.requested.toString() == 'org:leaf:(,1.0)'
                            assert it.failure.getMessage().startsWith('Could not find any version that matches org:leaf:(,1.0).')
                        }
                        b.dependencies.each {
                            assert it instanceof ResolvedDependencyResult
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractFuture.java

          } catch (Exception | StackOverflowError e) {
            // Any Exception is either a RuntimeException or sneaky checked exception.
            //
            // Don't call getMessage or toString() on the exception, in case the exception thrown by the
            // subclass is implemented with bugs similar to the subclass.
            pendingDescription = "Exception thrown from implementation: " + e.getClass();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          } catch (Exception | StackOverflowError e) {
            // Any Exception is either a RuntimeException or sneaky checked exception.
            //
            // Don't call getMessage or toString() on the exception, in case the exception thrown by the
            // subclass is implemented with bugs similar to the subclass.
            pendingDescription = "Exception thrown from implementation: " + e.getClass();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (1)
  9. guava-tests/test/com/google/common/collect/MapsTest.java

          Map<Integer, String> unused =
              Maps.uniqueIndex(ImmutableSet.of("one", "uno"), Functions.constant(1));
          fail();
        } catch (IllegalArgumentException expected) {
          assertThat(expected.getMessage()).contains("Multimaps.index");
        }
      }
    
      /** Null values are not allowed. */
      public void testUniqueIndexNullValue() {
        List<@Nullable String> listWithNull = Lists.newArrayList((String) null);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
Back to top