Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 436 for Problem (0.06 sec)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblem.java

     * under the License.
     */
    package org.apache.maven.settings.building;
    
    /**
     * Describes a problem that was encountered during settings building. A problem can either be an exception that was
     * thrown or a simple string message. In addition, a problem carries a hint about its source, e.g. the settings file
     * that exhibits the problem.
     *
     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.SettingsBuilder} instead
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblem.java

    package org.apache.maven.api.services;
    
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Describes a problem that was encountered during model building. A problem can either be an exception that was thrown
     * or a simple string message. In addition, a problem carries a hint about its source, e.g. the POM file that exhibits
     * the problem.
     *
     */
    public interface ModelProblem extends BuilderProblem {
    
        /**
         * Version
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. docs/pl/docs/help-fastapi.md

    * Jeśli nie rozumiesz pytania, poproś o więcej **szczegółów**.
    
    ### Odtwórz problem
    
    W większości przypadków problem wynika z **autorskiego kodu** osoby pytającej.
    
    Często pytający umieszczają tylko fragment kodu, niewystarczający do **odtworzenia problemu**.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblemCollector.java

         * @param line The one-based index of the line containing the problem or {@code -1} if unknown.
         * @param column The one-based index of the column containing the problem or {@code -1} if unknown.
         * @param cause The cause of the problem, may be {@code null}.
         */
        void add(SettingsProblem.Severity severity, String message, int line, int column, Exception cause);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java

            DefaultProblemCollector collector = new DefaultProblemCollector(null);
    
            collector.add(null, "PROBLEM1", -1, -1, null);
    
            collector.setSource("SOURCE_PROBLEM2");
            collector.add(null, "PROBLEM2", -1, -1, null);
    
            collector.setSource("SOURCE_PROBLEM3");
            collector.add(null, "PROBLEM3", -1, -1, null);
    
            assertEquals("", collector.getProblems().get(0).getSource());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java

        public void validate(Settings settings, SettingsProblemCollector problems) {
            validate(settings, false, problems);
        }
    
        @Override
        public void validate(Settings settings, boolean isProjectSettings, SettingsProblemCollector problems) {
            List<BuilderProblem> list = settingsBuilder.validate(settings.getDelegate(), isProjectSettings);
            for (BuilderProblem problem : list) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

        private List<SettingsProblem> convert(List<BuilderProblem> problems) {
            return problems.stream().map(this::convert).toList();
        }
    
        private SettingsProblem convert(BuilderProblem problem) {
            return new DefaultSettingsProblem(
                    problem.getMessage(),
                    SettingsProblem.Severity.valueOf(problem.getSeverity().name()),
                    problem.getSource(),
                    problem.getLineNumber(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/ToolchainsBuildingExceptionTest.java

            assertEquals("0 problems were encountered while building the effective toolchains" + LS, e.getMessage());
        }
    
        @Test
        void testOneProblem() {
            ProblemCollector problemCollector = ProblemCollectorFactory.newInstance(null);
            problemCollector.add(Problem.Severity.ERROR, "MESSAGE", 3, 5, new Exception());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java

     */
    package org.apache.maven.building;
    
    /**
     * Describes a problem that was encountered during settings building. A problem can either be an exception that was
     * thrown or a simple string message. In addition, a problem carries a hint about its source, e.g. the settings file
     * that exhibits the problem.
     *
     */
    class DefaultProblem implements Problem {
    
        private final String source;
    
        private final int lineNumber;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblem.java

         */
        Exception getException();
    
        /**
         * Gets the message that describes this problem.
         *
         * @return The message describing this problem, never {@code null}.
         */
        String getMessage();
    
        /**
         * Gets the severity level of this problem.
         *
         * @return The severity level of this problem, never {@code null}.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top