Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 105 for setMessage (0.13 sec)

  1. maven-core/src/main/java/org/apache/maven/project/DependencyResolutionException.java

                for (Exception e : exceptions) {
                    msg.append("\t").append(e.getMessage()).append(System.lineSeparator());
                }
            }
    
            for (Exception exception : result.getCollectionErrors()) {
                msg.append(exception.getMessage()).append(System.lineSeparator());
                if (exception.getCause() != null) {
                    msg.append("\tCaused by: ")
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jun 12 07:49:10 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/UnmanagedPropertyMissingSetterException.java

    public class UnmanagedPropertyMissingSetterException extends GradleException {
        public UnmanagedPropertyMissingSetterException(String propertyName) {
            super(getMessage(propertyName));
        }
    
        private static String getMessage(String propertyName) {
            return String.format(
                "unmanaged property '%s' cannot be read only, unmanaged properties must have setters",
                propertyName);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/DescriptiveChange.java

        public DescriptiveChange(String message, Object... params) {
            this.message = String.format(message, params);
        }
    
        @Override
        public String getMessage() {
            return message;
        }
    
        @Override
        public String toString() {
            return getMessage();
        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:32 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/PluginResolutionException.java

        private final Plugin plugin;
    
        public PluginResolutionException(Plugin plugin, Throwable cause) {
            super(
                    "Plugin " + plugin.getId() + " or one of its dependencies could not be resolved: " + cause.getMessage(),
                    cause);
            this.plugin = plugin;
        }
    
        public PluginResolutionException(Plugin plugin, List<Exception> exceptions, Throwable cause) {
            super(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jun 12 07:49:10 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                    }
                }
    
                message = "The build could not read " + children.size() + " project" + (children.size() == 1 ? "" : "s");
            } else {
                message = getMessage(message, exception);
            }
    
            return new ExceptionSummary(exception, message, reference, children);
        }
    
        private ExceptionSummary handle(ProjectBuildingResult result) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 10:31:03 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/ConnectionExceptionTransformer.java

                    + "\n" + failure.getMessage(), failure);
            } else if (failure instanceof UnsupportedOperationConfigurationException) {
                return new UnsupportedOperationConfigurationException(connectionFailureMessage(failure)
                    + "\n" + failure.getMessage(), failure.getCause());
            } else if (failure instanceof GradleConnectionException) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/plugin/ScriptPluginClassLoadingIntegrationTest.groovy

                  public String getMessage() { return "hello"; }
                }
            """
    
            file("plugin1.gradle") << """
                task sayMessageFrom1 { doLast { println new pkg.Thing().getMessage() } }
                apply from: 'plugin2.gradle'
            """
    
            file("plugin2.gradle") << """
                task sayMessageFrom2 { doLast { println new pkg.Thing().getMessage() } }
                apply from: 'plugin3.gradle'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:34 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/buildevents/BuildExceptionReporter.java

            resolution.withStyle(UserInput).text("https://help.gradle.org");
            resolution.text(".");
        }
    
        private static String getMessage(Throwable throwable) {
            try {
                String message = throwable.getMessage();
                if (GUtil.isTrue(message)) {
                    return message;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultBuilderProblem.java

        public int getColumnNumber() {
            return columnNumber;
        }
    
        @Override
        public Exception getException() {
            return exception;
        }
    
        @Override
        public String getMessage() {
            return message;
        }
    
        @Override
        public Severity getSeverity() {
            return severity;
        }
    
        @Override
        public String getLocation() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/UncheckedException.java

            if (t instanceof IOException) {
                if (preserveMessage) {
                    throw new UncheckedIOException(t.getMessage(), t);
                } else {
                    throw new UncheckedIOException(t);
                }
            }
            if (preserveMessage) {
                throw new UncheckedException(t.getMessage(), t);
            } else {
                throw new UncheckedException(t);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top