- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for throw (0.22 sec)
-
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/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
} catch (e: Exception) { exceptions.add(e) } } when { exceptions.size == 1 -> throw exceptions.first() exceptions.isNotEmpty() -> throw DefaultMultiCauseException("Test files cleanup verification failed", exceptions) else -> { } } } private
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Jul 28 16:19:47 GMT 2023 - 12.5K bytes - Viewed (0) -
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/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/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/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) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/AndroidStudioProvisioningPlugin.kt
BuildEnvironment.isMacOsX && !BuildEnvironment.isIntel -> "mac_arm.zip" BuildEnvironment.isLinux -> "linux.tar.gz" else -> throw IllegalStateException("Unsupported OS: ${OperatingSystem.current()}") } val androidStudioDependencyProvider =
Plain Text - Registered: Wed Mar 27 11:36:08 GMT 2024 - Last Modified: Fri Dec 22 13:46:27 GMT 2023 - 5.4K bytes - Viewed (0)