- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 77 for throw (0.33 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DslDocModel.groovy
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.9K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt
throw IllegalStateException("Can't find the contributors section in the release notes $releaseNotes.") } val contributorSectionEndIndex = (contributorSectionBeginIndex until releaseNotesLines.size).firstOrNull { val line = releaseNotesLines[it].trim() line.isNotEmpty() && !line.startsWith("[")
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon May 16 05:03:11 GMT 2022 - 5.7K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java
if (cells.size() != header.size()) { throw new RuntimeException(String.format("Expected %s <td> elements in <tr>, found: %s", header.size(), tr)); } String propName = cells.get(0).getTextContent().trim(); PropertyMetaData property = classDoc.getClassMetaData().findProperty(propName); if (property == null) {
Java - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 6.2K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy
if (!sourceFile.name.endsWith('.java')) { throw new DocGenerationException("Parsing non-Java files is not supported: $sourceFile") } try { new JavaParser().parse(sourceFile).getResult().get().accept(new SourceMetaDataVisitor(), repository) } catch (Exception e) { throw new DocGenerationException("Could not parse '$sourceFile'.", e) } }
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Mon Jan 08 12:45:57 GMT 2024 - 4.4K bytes - Viewed (0) -
build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.java
} @Override public int getPriority() { return 1; } @Override public void setName(String name) { throw new UnsupportedOperationException(); } @Override public void setPriority(int priority) { throw new UnsupportedOperationException(); } @Override public String getDescription() {
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1.4K bytes - Viewed (0) -
.github/workflows/CheckBadMerge.groovy
List<String> badFiles = MONITORED_FILES.grep { isBadFileInMergeCommit(it, commit, parentCommits[0], parentCommits[1]) } if (!badFiles.isEmpty()) { throw new RuntimeException("Found bad files in merge commit $commit: $badFiles") } else { println("No bad files found in $commit") } } else {
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Dec 19 10:35:44 GMT 2023 - 6.5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/PropertyDoc.groovy
this.referringClass = referringClass this.metaData = propertyMetaData id = "${referringClass.className}:$name" this.comment = comment if (additionalValues == null) { throw new NullPointerException("additionalValues constructor var is null for referringClass: $referringClass") } this.additionalValues = additionalValues } PropertyDoc forClass(ClassDoc referringClass) {
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 3.1K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts
queue.addAll(rootDependencies) while (queue.isNotEmpty()) { val dependency = when (val result = queue.removeFirst()) { is ResolvedDependencyResult -> result else -> throw IllegalArgumentException("Expected ResolvedDependencyResult") } if (dependency.isConstraint) { continue } val to = dependency.resolvedVariant
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Mar 28 20:26:58 GMT 2024 - 4.3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy
def table = getSection(title).table[0] if (!table) { throw new RuntimeException("Section '$title' does not contain a <table> element.") } if (!table.thead[0]) { throw new RuntimeException("Table '$title' does not contain a <thead> element.") } if (!table.thead[0].tr[0]) { throw new RuntimeException("Table '$title' does not contain a <thead>/<tr> element.")
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 6.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/HasKotlinFlagsMetadataQuery.kt
is KotlinClassMetadata.MultiFileClassFacade -> false is KotlinClassMetadata.SyntheticClass -> false is KotlinClassMetadata.Unknown -> false else -> throw IllegalStateException("Unsupported Kotlin metadata type '${this::class}'") } private typealias FlagsPredicate = (Flags) -> Boolean private
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Jun 07 08:14:15 GMT 2023 - 4.5K bytes - Viewed (0)