Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 591 for GetMessage (0.34 sec)

  1. 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)
  2. maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

                PrintStream ps = new PrintStream(os);
                ps.println(
                        "A required class was missing while executing " + mojoDescriptor.getId() + ": " + e.getMessage());
                pluginRealm.display(ps);
                Exception wrapper = new PluginContainerException(mojoDescriptor, pluginRealm, os.toString(), e);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java

        public Exception getException() {
            return exception;
        }
    
        @Override
        public String getMessage() {
            String msg = null;
    
            if (message != null && !message.isEmpty()) {
                msg = message;
            } else if (exception != null) {
                msg = exception.getMessage();
            }
    
            if (msg == null) {
                msg = "";
            }
    
            return msg;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Feb 01 16:25:04 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/DistributionManagementArtifactRelocationSource.java

                            relocation.getVersion(),
                            relocation.getMessage());
                    LOGGER.debug(
                            "The artifact {} has been relocated to {}: {}",
                            artifactDescriptorResult.getRequest().getArtifact(),
                            result,
                            relocation.getMessage());
                    return result;
                }
            }
            return null;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

            // If logging fails, e.g. due to missing memory, at least try to log the
            // message and the cause for the failed logging.
            System.err.println(e.getMessage());
            System.err.println(errorInLogging.getMessage());
          } finally {
            runtime.exit(1);
          }
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                                    + artifact.getArtifactId() + ":" + artifact.getVersion() + ".";
    
                            if (relocation.getMessage() != null) {
                                message += "  " + relocation.getMessage();
                            }
    
                            if (artifact.getDependencyTrail() != null
                                    && artifact.getDependencyTrail().size() == 1) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 09:07:17 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/samples/templates/java-junit5-test-for-application/src/test/java/org/gradle/sample/app/MessageUtilsTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    public class MessageUtilsTest {
        @Test public void testGetMessage() {
            assertEquals("Hello,      World!", MessageUtils.getMessage());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 282 bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/testFixtures/groovy/org/gradle/language/fixtures/AnnotatedGeneratedClassProcessorFixture.groovy

                        out.close();
                    }
                } catch (IOException e) {
                    messager.printMessage(Diagnostic.Kind.ERROR, "Failed to generate class file " + className + ". " + e.getMessage(), element);
                }
            }
            """
        }
    
        private String getSourceGeneratorCode() {
            """
        for (Element element : elements) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. 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)
  10. platforms/documentation/docs/src/snippets/developingPlugins/testingPlugins/kotlin/url-verifier-plugin/src/main/java/org/myorg/http/HttpResponse.java

        public HttpResponse(int code, String message) {
            this.code = code;
            this.message = message;
        }
    
        public int getCode() {
            return code;
        }
    
        public String getMessage() {
            return message;
        }
    
        @Override
        public String toString() {
            return "HTTP " + code + ", Reason: " + message;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 449 bytes
    - Viewed (0)
Back to top