- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 591 for setMessage (0.19 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/TarFileTreeTest.java
public void failsWhenArchiveFileDoesNotExist() { try { tree.visit(new EmptyFileVisitor()); fail(); } catch (InvalidUserDataException e) { assertThat(e.getMessage(), containsString("Cannot expand TAR '" + archiveFile + "' as it does not exist.")); } } @Test public void failsWhenArchiveFileIsADirectory() { archiveFile.createDir();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 15:15:04 UTC 2024 - 5.5K bytes - Viewed (0) -
maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/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: Mon Dec 18 12:26:49 UTC 2023 - 3.2K bytes - Viewed (0) -
maven-model-builder/src/main/java/org/apache/maven/model/building/Graph.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Jan 22 17:27:48 UTC 2024 - 3.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java
return new Metadata(new MetadataStaxReader().read(in, isStrict(options))); } catch (XMLStreamException e) { throw new MetadataParseException( e.getMessage(), e.getLocation().getLineNumber(), e.getLocation().getColumnNumber(), e); } }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 2.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/exceptions/LocationAwareException.java
* * @return the message. May return null. */ @Nullable @Override public String getMessage() { String location = getLocation(); String message = getCause().getMessage(); if (location == null && message == null) { return null; } if (location == null) { return message; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 19:30:55 UTC 2024 - 3.6K bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/kotlinapplication/multi/app/MessageUtils.kt.template
${fileComment.multilineComment}${packageDecl.statement} class MessageUtils { companion object { fun getMessage(): String = "Hello World!" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 163 bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/kotlinapplication/multi/app/junit5/MessageUtilsTest.kt.template
import org.junit.jupiter.api.Test import org.junit.jupiter.api.Assertions.assertEquals class MessageUtilsTest { @Test fun testGetMessage() { assertEquals("Hello World!", MessageUtils.getMessage()) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 280 bytes - Viewed (0) -
platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpClientHelper.java
return e; } SSLHandshakeException sslException = (SSLHandshakeException) e; String message; if (e.getMessage().contains("PKIX path building failed") || e.getMessage().contains("certificate_unknown")) { message = "Got SSL handshake exception during request. It might be caused by SSL misconfiguration"; } else { message = String.format(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 00:47:05 UTC 2024 - 13K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProblem.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 5.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java
import org.apache.maven.model.v4.MavenStaxReader; import org.apache.maven.model.v4.MavenStaxWriter; import static org.apache.maven.internal.impl.StaxLocation.getLocation; import static org.apache.maven.internal.impl.StaxLocation.getMessage; import static org.apache.maven.internal.impl.Utils.nonNull; @Named @Singleton public class DefaultModelXmlFactory implements ModelXmlFactory { @Override
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 5.4K bytes - Viewed (0)