Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for RuntimeException (0.18 sec)

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

                    }
                }
                .build()
            val response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString())
            if (response.statusCode() > 399) {
                throw RuntimeException("Failed to get pull requests: $uri ${response.statusCode()} ${response.body()}")
            }
            return Gson().fromJson(response.body(), klass)
        }
    
        private
    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)
  2. 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 DokkatooExtension getDokkatooExtension(Project project) {
            return project.getExtensions().getByType(DokkatooExtension.class);
        }
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 15 14:00:14 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. 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)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/DocGenerationException.java

     * limitations under the License.
     */
    package gradlebuild.docs;
    
    import org.gradle.internal.exceptions.Contextual;
    
    @Contextual
    public class DocGenerationException extends RuntimeException {
        public DocGenerationException(String message) {
            super(message);
        }
    
        public DocGenerationException(String message, Throwable throwable) {
            super(message, throwable);
        }
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 968 bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRulePostProcess.java

            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)
  6. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            File psOutFile = new File(rootProjectDir, timestamp + ".psoutput");
    
            try {
                Files.write(psOutFile.toPath(), psOutput);
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
    
        private static void cleanPsOutputAndThreaddumpFilesFromPreviousRun(File rootProjectDir) {
            if (executionMode == ExecutionMode.KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS) {
    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)
  7. build-logic/idea/src/main/kotlin/gradlebuild.ide.gradle.kts

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License."""
    }
    
    tasks.idea {
        doFirst { throw RuntimeException("To import in IntelliJ, please follow the instructions here: https://github.com/gradle/gradle/blob/master/CONTRIBUTING.md#intellij") }
    }
    
    if (idea.project != null) { // may be null during script compilation
        idea {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Jun 26 15:42:59 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    
    val Project.gradleInstallPath: Provider<String>
        get() = gradleProperty(GRADLE_INSTALL_PATH).orElse(
            provider<String> {
                throw RuntimeException("You can't install without setting the $GRADLE_INSTALL_PATH property.")
            }
        )
    
    
    val Project.rerunAllTests: Provider<Boolean>
        get() = gradleProperty(RERUN_ALL_TESTS).map { true }.orElse(false)
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Jan 01 01:23:31 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java

                        + "\nExample: <apilink class=\"org.gradle.api.Project\" method=\"someMethodThatDoesNotExist\"/>";
                throw new RuntimeException(message);
            }
            if (candidates.size() != 1) {
                String message = String.format("Found multiple methods called '%s' in class '%s'. Candidates: %s",
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.4K bytes
    - Viewed (0)
  10. .teamcity/.mvn/wrapper/maven-wrapper.jar

    public java.util.Map convert(ParsedCommandLine, java.util.Map) throws CommandLineArgumentE; } org/apache/maven/wrapper/cli/CommandLineArgumentE.class package org.apache.maven.wrapper.cli; public synchronized class CommandLineArgumentE extends RuntimeException { public void CommandLineArgumentE(String); public void CommandLineArgumentE(String, Throwable); } org/apache/maven/wrapper/cli/CommandLineConverter.class package org.apache.maven.wrapper.cli; public abstract interface CommandLineConverter {...
    Archive
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 49.5K bytes
    - Viewed (0)
Back to top