- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 531 for setMessage (0.14 sec)
-
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/operations/MultipleBuildOperationFailuresTest.groovy
given: def failures = [ new TestException(0) ] def exception = new MultipleBuildOperationFailures(failures, LOG_LOCATION) when: def message = exception.getMessage() then: TextUtil.normaliseLineSeparators(message) == """A build operation failed. <test message 0> See the complete log at: $LOG_LOCATION""" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/groovyapplication/multi/app/App.groovy.template
import static ${basePackagePrefix.raw}utilities.StringUtils.split import static ${basePackagePrefix.raw}app.MessageUtils.getMessage import org.apache.commons.text.WordUtils class App { static void main(String[] args) { LinkedList tokens tokens = split(getMessage()) String result = 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 - 548 bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/javaapplication/multi/app/App.java.template
import static ${basePackagePrefix.raw}utilities.StringUtils.split; import static ${basePackagePrefix.raw}app.MessageUtils.getMessage; import org.apache.commons.text.WordUtils; public class App { public static void main(String[] args) { LinkedList tokens; tokens = split(getMessage()); String result = join(tokens); System.out.println(WordUtils.capitalize(result)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 586 bytes - Viewed (0) -
maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java
try { return new Settings(delegate.read(reader, strict, null)); } catch (XMLStreamException e) { throw new XmlPullParserException(e.getMessage(), null, e); } } /** * @param reader a reader object. * @throws IOException IOException if any. * @throws XmlPullParserException XmlPullParserException if * any.
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Oct 20 07:44:51 UTC 2023 - 5.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/LineSearchFailures.java
this.expectedLines = expectedLines; this.actualLines = actualLines; } @Override public abstract String getMessage(); } public static final class DifferentSizesLineListComparisonFailure extends AbstractLineListComparisonFailure { @VisibleForTesting
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.6K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java
try { getProject(f1); fail("Expected 'ProjectBuildingException' not thrown."); } catch (final ProjectBuildingException e) { assertNotNull(e.getMessage()); assertThat(e.getMessage(), containsString("Version must be a constant")); } } /** * Tests whether local version range parent references are build correctly. * * @throws Exception
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Jun 19 15:04:04 UTC 2023 - 16.5K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/templates/java-application/src/main/java/org/gradle/sample/app/Main.java
import static org.gradle.sample.utilities.StringUtils.join; import static org.gradle.sample.utilities.StringUtils.split; import static org.gradle.sample.app.MessageUtils.getMessage; public class Main { public static void main(String[] args) { LinkedList tokens; tokens = split(getMessage()); System.out.println(join(tokens)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 438 bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/PluginExecutionException.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Sep 14 11:48:15 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/metaobject/AbstractDynamicObjectTest.java
assertTrue(object.getProperties().isEmpty()); try { object.getProperty("something"); fail(); } catch (MissingPropertyException e) { assertThat(e.getMessage(), equalTo("Could not get unknown property 'something' for <display-name>.")); } DynamicInvokeResult result = object.tryGetProperty("something"); assertFalse(result.isFound()); try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Nov 17 11:25:34 UTC 2023 - 2.6K bytes - Viewed (0) -
maven-slf4j-provider/src/main/java/org/apache/maven/slf4j/MavenSimpleLogger.java
if (t == null) { return; } MessageBuilder builder = builder().failure(t.getClass().getName()); if (t.getMessage() != null) { builder.a(": ").failure(t.getMessage()); } stream.println(builder); printStackTrace(t, stream, ""); } private void printStackTrace(Throwable t, PrintStream stream, String prefix) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Apr 03 17:49:40 UTC 2024 - 4.9K bytes - Viewed (0)