Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for BUILD_ACTION_EXCEPTION_MESSAGE (0.17 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r32/RuntimeExceptionThrowingBrokenBuildAction.java

        }
    
        static class CustomException extends RuntimeException {
            Thread thread = Thread.currentThread(); // non-serializable field
    
            CustomException() {
                super(BUILD_ACTION_EXCEPTION_MESSAGE);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r32/BrokenBuildAction.java

    import org.gradle.tooling.BuildAction;
    import org.gradle.tooling.BuildController;
    
    abstract class BrokenBuildAction implements BuildAction<String> {
        public static final String BUILD_ACTION_EXCEPTION_MESSAGE = "Something went wrong when executing the build action";
    
        public String execute(BuildController controller) {
            throwException();
            return "";
        }
    
        abstract void throwException();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r32/NonSerializableExceptionCrossVersionSpec.groovy

            !exceptionString.contains(NotSerializableException.getName())
            exceptionString.contains("Caused by: ${RuntimeExceptionThrowingBrokenBuildAction.CustomException.getName()}: $BrokenBuildAction.BUILD_ACTION_EXCEPTION_MESSAGE")
        }
    
        def createBuildFileForConfigurationPhaseCheck(int exceptionNestingLevel) {
            file('build.gradle') << """
    class CustomException extends Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top