- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 214 for throws (0.38 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/fixture/CrossVersionToolingApiSpecificationRetryTest.groovy
} def iteration = 0 def "does not retry if NPE is thrown in daemon registry in >=1.8"() { given: iteration++ when: throwWhen(new GradleConnectionException("Test Exception", new NullPointerException()), iteration == 1) then: GradleConnectionException gce = thrown() gce.cause instanceof NullPointerException }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 06:17:20 UTC 2024 - 5.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy
} def "exception thrown from ValueSource becomes problem if the exception is #exceptionHandlerDescritpion"() { given: buildFile(""" import org.gradle.api.provider.* abstract class BrokenValueSource implements ValueSource<String, ValueSourceParameters.None>, Describable { @Override String obtain() { throw new RuntimeException("Broken!") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 20.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/EncryptionService.kt
} } catch (e: EncryptionException) { if (e.message != null) { throw e } throw EncryptionException("Error loading encryption key from ${keySource.sourceDescription}", e.cause) } catch (e: Exception) { throw EncryptionException("Error loading encryption key from ${keySource.sourceDescription}", e) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 11.9K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/SystemClassLoaderTest.groovy
try { def clazz = systemLoader.loadClass(nonLauncherOrCoreClass) assert clazz == null : "ClassNotFoundException should have been thrown trying to load a “\${nonLauncherOrCoreClass}” class from the system classloader as its not a launcher or core class (loaded class: \$clazz)" } catch (ClassNotFoundException e) { // expected
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 4.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
Throwable cause = e.getCause(); if (policy.isExpectedType(cause)) { return; } throw new AssertionError( String.format( "wrong exception thrown from %s when passing null to %s parameter at index %s.%n" + "Full parameters: %s%n" + "Actual exception message: %s", invokable,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 23.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
Throwable cause = e.getCause(); if (policy.isExpectedType(cause)) { return; } throw new AssertionError( String.format( "wrong exception thrown from %s when passing null to %s parameter at index %s.%n" + "Full parameters: %s%n" + "Actual exception message: %s", invokable,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 22.6K bytes - Viewed (0) -
RELEASE.md
* (since v2.7) `tf.timestamp`. Throws `FailedPrecondition` * (since v2.7) `tf.Variable.scatter_add` (and other scatter methods, both on ref and resource variables) * (since v2.7) The random-number-generating ops in the `tf.random` module when the global random seed has not yet been set (via `tf.random.set_seed`). Throws `RuntimeError` from Python or
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 730.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/oldresult/TransientConfigurationResultsBuilder.java
if (parent == null) { throw new IllegalStateException(String.format("Unexpected parent dependency id %s. Seen ids: %s", parentId, allDependencies.keySet())); } if (child == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 14:19:34 UTC 2024 - 9.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java
} protected ScopeState getScopeState() { if (values.isEmpty()) { throw new OutOfScopeException("Cannot access session scope outside of a scoping block"); } return values.get(0); } public void exit() { if (values.isEmpty()) { throw new IllegalStateException(); } values.remove(0); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 7.4K bytes - Viewed (0) -
platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/BeanPropertyExtensions.kt
throw passThrough } catch (passThrough: GradleException) { throw passThrough } catch (e: InvocationTargetException) { // unwrap ITEs as they are not useful to users throw GradleException("Could not load the value of $trace.", e.cause) } catch (e: Exception) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 2.4K bytes - Viewed (0)