- Sort Score
- Result 10 results
- Languages All
Results 11 - 13 of 13 for MissingValueException (0.29 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractMinimalProvider.java
protected Value<? extends T> calculateOwnPresentValue() { Value<? extends T> value = calculateOwnValue(ValueConsumer.IgnoreUnsafeRead); if (value.isMissing()) { throw new MissingValueException(cannotQueryValueOf(value)); } return value; } @Override public boolean isPresent() { return calculatePresence(ValueConsumer.IgnoreUnsafeRead); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 17 23:22:41 UTC 2024 - 7.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 58.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy
property.getOrNull() == null property.getOrElse(toMutable(["other"])) == toMutable(["other"]) when: property.get() then: def e = thrown(MissingValueException) e.message == "Cannot query the value of ${displayName} because it has no value available." } def "property has no value when set to provider with no value and other values appended"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 49.7K bytes - Viewed (0)