- Sort Score
- Num 10 results
- Language All
Results 711 - 720 of 819 for throws (0.04 seconds)
-
build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts
id("gradlebuild.module-jar") id("gradlebuild.dependency-modules") id("gradlebuild.jvm-compile") } tasks.withType<JavaCompile>().configureEach { options.release = provider { throw GradleException("This task '${name}' is not associated with a compilation. Associate it with a compilation on the '${JvmCompileExtension.NAME}' extension.") } } val gradleModule = the<GradleModuleExtension>()
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Dec 19 06:44:41 GMT 2025 - 18.9K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/root/RootLocator.java
@Nonnull default Path findMandatoryRoot(Path basedir) { Path rootDirectory = findRoot(basedir); if (rootDirectory == null) { throw new IllegalStateException(getNoRootMessage()); } return rootDirectory; } @Nullable default Path findRoot(Path basedir) { Path rootDirectory = basedir;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.5K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/CIBuildModel.kt
stage: Stage, testCoverage: TestCoverage, bucketIndex: Int, ): FunctionalTest fun getName(testCoverage: TestCoverage): String = throw UnsupportedOperationException() fun getDescription(testCoverage: TestCoverage): String = throw UnsupportedOperationException() } data class GradleSubproject( val name: String, val path: String, val unitTests: Boolean = true,Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Nov 05 13:00:26 GMT 2025 - 27.5K bytes - Click Count (0) -
logger/logger.go
sql, rows := fc() if rows == -1 { l.Printf(l.traceErrStr, utils.FileWithLineNum(), err, float64(elapsed.Nanoseconds())/1e6, "-", sql) } else { l.Printf(l.traceErrStr, utils.FileWithLineNum(), err, float64(elapsed.Nanoseconds())/1e6, rows, sql) } case elapsed > l.SlowThreshold && l.SlowThreshold != 0 && l.LogLevel >= Warn: sql, rows := fc()
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Jan 12 10:19:28 GMT 2025 - 6.3K bytes - Click Count (0) -
architecture/standards/0008-use-nullaway.md
Do not remove `null` checks on public API boundaries, even if the annotations (or rather lack of them) suggest this. Not all client code is compiled with NullAway. Do not make a parameter `@Nullable` just to check and throw a `NullPointerException` when it is `null`. ## Status ACCEPTED ## Consequences * Classes are forced to have consistent nullability annotations.
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Dec 11 10:24:40 GMT 2025 - 4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/AbstractLifecycleMappingProvider.java
protected AbstractLifecycleMappingProvider(String[] pluginBindings) { requireNonNull(pluginBindings); final int len = pluginBindings.length; if (len < 2 || len % 2 != 0) { throw new IllegalArgumentException("Plugin bindings must have more than 0, even count of elements"); } HashMap<String, LifecyclePhase> lifecyclePhaseBindings = new HashMap<>(len / 2);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Dec 22 12:24:35 GMT 2024 - 3.2K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Apr 28 14:56:52 GMT 2025 - 4.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CleanArgument.java
try { return doCleanArgs(args); } catch (RuntimeException e) { for (String a : args) { System.out.println("Arg: '" + a + "'"); } throw e; } } private static String[] doCleanArgs(String[] args) { List<String> cleaned = new ArrayList<>(); StringBuilder currentArg = null; for (String arg : args) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 28 12:11:25 GMT 2025 - 3.4K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
if (strLen > 0) { for (int i = 0; i < strLen; i++) { if (!Character.isWhitespace(str.charAt(i))) { return; } } } throw new IllegalArgumentException(message); } public static Map<String, Artifact> artifactMapByVersionlessId(Collection<Artifact> artifacts) { Map<String, Artifact> artifactMap = new LinkedHashMap<>();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6.9K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java
return new URI("https://github.com/gradle/gradle/blob/" + commitId + "/" + relativeLocation); } catch (URISyntaxException e) { throw new RuntimeException(e); } } private static DokkaExtension getDokkaExtension(Project project) { return project.getExtensions().getByType(DokkaExtension.class); }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed May 28 11:34:42 GMT 2025 - 7.4K bytes - Click Count (0)