- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for MissingValueException (0.2 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/MissingValueException.java
*/ package org.gradle.api.internal.provider; import org.gradle.internal.exceptions.Contextual; @Contextual public class MissingValueException extends IllegalStateException { public MissingValueException(String message) { super(message); } public MissingValueException(String message, Throwable cause) { super(message, cause); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 979 bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DirectoryPropertyTest.groovy
* limitations under the License. */ package org.gradle.api.internal.file import org.gradle.api.file.Directory import org.gradle.api.internal.provider.MissingValueException import org.gradle.api.internal.provider.PropertyInternal import org.gradle.internal.state.ManagedFactory class DirectoryPropertyTest extends FileSystemPropertySpec<Directory> { @Override
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/test/groovy/org/gradle/util/internal/DeferredUtilTest.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.util.internal import org.gradle.api.internal.provider.MissingValueException import org.gradle.api.internal.provider.Providers import spock.lang.Specification class DeferredUtilTest extends Specification { def "unpacks #description to null"() { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/CredentialsProviderFactory.java
if (!missingProviderErrors.isEmpty()) { throw new ProjectConfigurationException("Credentials required for this build could not be resolved.", missingProviderErrors.stream().map(MissingValueException::new).collect(Collectors.toList())); } } private abstract class CredentialsProvider<T extends Credentials> implements Callable<T> { private final String identity;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CredentialsProviderFactoryTest.groovy
def provider = factory.provide(PasswordCredentials, 'myService') when: provider.get() then: def e = thrown(MissingValueException) e.message.contains("The following Gradle properties are missing for 'myService' credentials:") e.message.contains("- myServiceUsername") e.message.contains("- myServicePassword") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 7.1K bytes - Viewed (0) -
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)