Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PropertyQueryException (0.22 sec)

  1. platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/compile/JavaCompileTest.groovy

            when:
            javaCompile.options.fork = true
            javaCompile.options.forkOptions.executable = invalidExecutable
            javaCompile.createSpec()
    
            then:
            def e = thrown(AbstractProperty.PropertyQueryException)
            def cause = TestUtil.getRootCause(e) as InvalidUserDataException
            cause.message.contains("The configured executable does not exist")
            cause.message.contains(invalidExecutable.absolutePath)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java

                formatter.append("an object with type ");
                formatter.appendType(modelObject.getClass());
            }
        }
    
        @Contextual
        public static class PropertyQueryException extends RuntimeException {
            public PropertyQueryException(String message, Throwable cause) {
                super(message, cause);
            }
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:54 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            property.present
    
            then:
            def e = thrown(AbstractProperty.PropertyQueryException)
            e.message == "Failed to query the value of <property>."
            e.cause.message == "broken!"
    
            when:
            property.get()
    
            then:
            def e2 = thrown(AbstractProperty.PropertyQueryException)
            e2.message == "Failed to query the value of <property>."
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
Back to top