- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 73 for throw (2.53 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRulePostProcess.java
Set<ApiChange> left = new HashSet<>(acceptedApiChanges); left.removeAll(seenApiChanges); if (!left.isEmpty()) { String formattedLeft = CollectionUtils.join("\n", left); throw new RuntimeException("The following regressions are declared as accepted, but didn't match any rule:\n\n" + formattedLeft); } }
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Jun 09 08:16:49 GMT 2021 - 1.7K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java
if (cells.size() != 1) { throw new RuntimeException(String.format("Expected 1 cell in <tr>, found: %s", tr)); } String methodName = cells.get(0).getTextContent().trim(); Collection<MethodMetaData> methods = classDoc.getClassMetaData().findDeclaredMethods(methodName); if (methods.isEmpty()) {
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.2K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/AndroidStudioSystemProperties.kt
return "-Dstudio.home=$androidStudioPath" } else if (androidStudioHome.isPresent) { return "-Dstudio.home=${androidStudioHome.get()}" } throw IllegalArgumentException("Android Studio home must be provided via the 'studioHome' system property, or auto downloading must be enabled via `autoDownloadAndroidStudio=true` gradle property, system property, or environment variable") }
Plain Text - Registered: Wed Mar 27 11:36:08 GMT 2024 - Last Modified: Tue Feb 20 09:51:32 GMT 2024 - 2.9K bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt
override fun getName(): String = "IntegrationTestFixtures" override fun getPriority(): Int = 1 override fun setPriority(priority: Int) { throw UnsupportedOperationException() } override fun setName(name: String?) { throw UnsupportedOperationException() } override fun getDescription(): String = "Reports incorrect usages of integration test fixtures"
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java
}); if (!keptAccessors.isEmpty()) { String formattedLeft = CollectionUtils.join("\n", keptAccessors.keySet()); throw new RuntimeException("The following accessors were upgraded, but didn't match any removed/changed method:\n\n" + formattedLeft); } // Find accessors that were removed but shouldn't be
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Apr 23 08:40:36 GMT 2024 - 3.4K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/bucket-extensions.kt
largeElementSplitFunction: (T, Int) -> List<R>, smallElementAggregateFunction: (List<T>) -> R, expectedBucketNumber: Int, maxNumberInBucket: Int, noElementSplitFunction: (Int) -> List<R> = { throw IllegalArgumentException("More buckets than things to split") }, canRunTogether: (T, T) -> Boolean = { _, _ -> true } ): List<R> { if (list.isEmpty()) { return noElementSplitFunction(expectedBucketNumber) }
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Thu Nov 17 05:17:44 GMT 2022 - 4K bytes - Viewed (0) -
build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
pkill(pid); }); } } private static void initExecutionMode(String[] args) { if (args.length != 1) { throw new IllegalArgumentException("Requires 1 param: " + Stream.of(ExecutionMode.values()).map(ExecutionMode::toString).collect(Collectors.joining("/"))); } executionMode = ExecutionMode.valueOf(args[0]);
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Apr 26 09:46:00 GMT 2024 - 11.3K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts
(buildFinalRelease.isPresent && buildRcNumber.isPresent) || (buildFinalRelease.isPresent && buildMilestoneNumber.isPresent) || (buildRcNumber.isPresent && buildMilestoneNumber.isPresent) ) { throw InvalidUserDataException("Cannot set any combination of milestoneNumber, rcNumber and finalRelease at the same time") } val versionQualifier = buildVersionQualifier val isFinalRelease = finalRelease.isPresent
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 4.9K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Jun 07 08:20:38 GMT 2023 - 4.6K bytes - Viewed (0) -
build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt
mkdirsAndWriteText( """ class FlakyTest { @org.junit.jupiter.api.Test public void test() { ${if (fail) "throw new IllegalStateException();" else ""} } } """.trimIndent() ) }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Jun 14 12:35:52 GMT 2023 - 10.6K bytes - Viewed (0)