Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for withException (0.3 sec)

  1. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/internal/DefaultProblemBuilder.java

                config.execute((U) additionalDatabuilder);
                additionalData = additionalDatabuilder.build();
            }
            return this;
        }
    
        @Override
        public InternalProblemBuilder withException(RuntimeException e) {
            this.exception = e;
            return this;
        }
    
        @Nullable
        RuntimeException getException() {
            return exception;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 08:30:15 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. platforms/jvm/language-groovy/src/main/java/org/gradle/api/internal/tasks/compile/daemon/DaemonGroovyCompiler.java

                        .contextualLabel(contextualMessage)
                        .solution("Check if the installation is not a JRE but a JDK.")
                        .severity(Severity.ERROR)
                        .withException(new IllegalStateException(contextualMessage))
                    );
                } else {
                    languageGroovyClasspath = languageGroovyClasspath.plus(Collections.singletonList(toolsJar));
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/execution/selection/DefaultBuildTaskSelector.java

            spec.severity(Severity.ERROR);
            ((InternalProblemSpec) spec).additionalData(GeneralDataSpec.class, data -> data.put("requestedPath", Objects.requireNonNull(requestedPath)));
            spec.withException(e);
        }
    
        private TaskSelector.SelectionContext sanityCheckPath(String name, String type) {
            // Don't allow paths that are:
            // - empty or blank
            // - the root path
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java

                .contextualLabel(message)
                .lineInFileLocation(source.getFileName(), lineNumber)
                .severity(Severity.ERROR)
                .withException(new ScriptCompilationException(message, e, source, lineNumber))
            );
        }
    
        private static CompilerConfiguration createBaseCompilerConfiguration(Class<? extends Script> scriptBaseClass) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top