Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for throwAsUncheckedException (0.59 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java

                } else {
                    to.getAsFile().get().delete();
                }
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue May 27 09:07:14 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

                    getLogger().error(message);
                    fw.println(message);
                }
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
            throw new GradleException("Documentation assertion failed: found invalid internal links. See " + new org.gradle.internal.logging.ConsoleRenderer().asClickableFileUrl(reportFile));
        }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue May 27 09:07:14 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java

                } catch (IOException e) {
                    throw UncheckedException.throwAsUncheckedException(e);
                }
            });
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue May 27 09:07:14 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/RenderMarkdown.java

                String html = renderer.render(parser.parseReader(inputStream));
                outputStream.write(html);
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue May 27 09:07:14 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/TypeNameResolver.java

            // check that groovy is visible.
            try {
                getClass().getClassLoader().loadClass("groovy.lang.Closure");
            } catch (ClassNotFoundException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        /**
         * Resolves the names in the given type into fully qualified names.
         */
        public void resolve(final TypeMetaData type, final ClassMetaData classMetaData) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Jul 16 15:20:01 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

                return upgradedProperties.stream()
                    .distinct()
                    .collect(ImmutableList.toImmutableList());
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        /**
         * Automatically accept changes that are valid property upgrades of a getter or setter.
         *
         * Here we automatically accept the following cases:
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 24 14:15:15 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                    } else {
                        return true; // not a package-info.java file, we ignore it
                    }
                } catch (IOException e) {
                    throw UncheckedException.throwAsUncheckedException(e, true);
                }
            }
    
            private String getPackageName(File file) throws IOException {
                try (Stream<String> lines = Files.lines(file.toPath())) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 02 14:18:24 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

            try (FileReader reader = new FileReader(file)) {
                element.append(open + CharStreams.toString(reader) + close);
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        private void removeLeftoverComments(Document document) {
            document.traverse(new NodeVisitor() {
                @Override
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue May 27 09:07:14 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top