- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for InvalidPathException (0.23 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/ModelPathValidationTest.groovy
then: def e = thrown ModelPath.InvalidPathException e.cause instanceof ModelPath.InvalidNameException when: ModelPath.validatePath("foo.bar") then: noExceptionThrown() when: ModelPath.validatePath(".foo.bar") then: e = thrown ModelPath.InvalidPathException e.message =~ "start with" when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelPath.java
} } public static void validatePath(String path) throws InvalidPathException { if (path.isEmpty()) { throw new InvalidPathException("Cannot use an empty string as a model path.", null); } if (path.startsWith(SEPARATOR)) { throw new InvalidPathException(String.format("Model path '%s' cannot start with name separator '%s'.", path, SEPARATOR), null); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 11.2K bytes - Viewed (0) -
platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/RuleVisitor.java
error(argExpression, INVALID_ARGUMENT_LIST); return; } try { ModelPath.validatePath(modelPath); } catch (ModelPath.InvalidPathException e) { // TODO find a better way to present this information in the error message // Attempt to mimic Gradle nested exception output
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 14:04:39 UTC 2024 - 18.3K bytes - Viewed (0) -
testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt
Class <org.gradle.model.internal.core.ModelPath$InvalidNameException> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (ModelPath.java:0) Class <org.gradle.model.internal.core.ModelPath$InvalidPathException> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (ModelPath.java:0)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 967.9K bytes - Viewed (0)