Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 591 for setMessage (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Graph.java

                this.cycle = cycle;
            }
    
            public List<String> getCycle() {
                return cycle;
            }
    
            @Override
            public String getMessage() {
                return super.getMessage() + " " + String.join(" --> ", cycle);
            }
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. 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)
  9. maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

                if (e != null) {
                    logger.error(e.getMessage());
    
                    for (Throwable cause = e.getCause();
                            cause != null && cause != cause.getCause();
                            cause = cause.getCause()) {
                        logger.error("Caused by: {}", cause.getMessage());
                    }
                }
            }
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/scalaapplication/multi/app/App.scala.template

    import ${basePackagePrefix.raw}utilities.StringUtils
    
    import org.apache.commons.text.WordUtils
    
    object App {
       def main(args: Array[String]): Unit = {
            val tokens = StringUtils.split(MessageUtils.getMessage())
            val result = StringUtils.join(tokens)
            println(WordUtils.capitalize(result))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 374 bytes
    - Viewed (0)
Back to top