- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 77 for throw (0.12 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java
} } }; this.lock = this.in; } private Reader transform(Reader in) throws IOException { if (jqueryFiles == null || releaseNotesJavascript == null || baseCss == null || releaseNotesCss == null) { throw new GradleException("filter isn't ready to transform"); } Document document = Jsoup.parse(CharStreams.toString(in));
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Apr 25 04:49:56 GMT 2024 - 7.7K 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 08 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/FindBrokenInternalLinks.java
String message = sb.toString(); getLogger().error(message); fw.println(message); } } catch (IOException e) { throw new UncheckedIOException(e); } throw new GradleException("Documentation assertion failed: found invalid internal links. See " + new org.gradle.internal.logging.ConsoleRenderer().asClickableFileUrl(reportFile)); }
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Apr 05 07:57:56 GMT 2023 - 8.6K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy
linkRepository.load(linksFile.get().asFile) findAll(doc, 'apilink').each { Element element -> String className = element.'@class' if (!className) { throw new RuntimeException('No "class" attribute specified for <apilink> element.') } String methodName = element.'@method' def classMetaData = linkRepository.get(className)
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 5.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
is CtConstructor -> ktFile.isDocumentedAsSince(version, ctDeclaringClass, ctMember) is CtMethod -> ktFile.isDocumentedAsSince(version, ctDeclaringClass, ctMember) else -> throw IllegalStateException("Unsupported japicmp member type '${member::class}'") } } } private fun KtFile.isDocumentedAsSince(version: String, declaringClass: CtClass, field: CtField): Boolean =
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 20 20:38:19 GMT 2023 - 11.1K 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/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTask.kt
if (mismatches.isNotEmpty()) { val formattedMismatches = mismatches.joinToString(separator = "\n", transform = { "\t" + it }) throw GradleException(buildErrorMessage(formattedMismatches)) } } private fun buildErrorMessage(formattedMismatches: String): String {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Sep 30 18:18:04 GMT 2022 - 2K 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/ModelBuilderSupport.java
} protected Element getChild(Element element, String childName) { Element child = findChild(element, childName); if (child != null) { return child; } throw new RuntimeException(String.format("No <%s> element found in <%s>", childName, element.getTagName())); } protected Element findChild(Element element, String childName) {
Java - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.2K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/CheckSubprojectsInfo.kt
abstract class CheckSubprojectsInfo : SubprojectsInfo() { @TaskAction fun checkSubprojectsInfo() { if (subprojectsJson.asFile.readText() != generateSubprojectsJson()) { throw GradleException( "New project(s) added without updating subproject JSON. Please run `:${GenerateSubprojectsInfo.TASK_NAME}` task." ) } }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Jul 07 13:12:26 GMT 2021 - 1.2K bytes - Viewed (0)