Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 410 for problem (0.11 sec)

  1. compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.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.
     *
     */
    public interface Problem {
    
        /**
         * The different severity levels for a problem, in decreasing order.
         */
        enum Severity {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java

         */
        public ToolchainsBuildingException(List<Problem> problems) {
            super(toMessage(problems));
    
            this.problems = new ArrayList<>();
            if (problems != null) {
                this.problems.addAll(problems);
            }
        }
    
        /**
         * Gets the problems that caused this exception.
         *
         * @return The problems that caused this exception, never {@code null}.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. compat/maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.java

         * @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(Problem.Severity severity, String message, int line, int column, Exception cause);
    
        /**
         * The next messages will be bound to this source. When calling this method again, previous messages keep
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

        }
    
        public void add(ModelProblem problem) {
            problems.add(problem);
    
            severities.add(problem.getSeverity());
        }
    
        public void addAll(List<ModelProblem> problems) {
            this.problems.addAll(problems);
    
            for (ModelProblem problem : problems) {
                severities.add(problem.getSeverity());
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblemCollector.java

    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * Collects problems that are encountered during settings building.
     *
     */
    class DefaultProblemCollector implements ProblemCollector {
    
        private final List<Problem> problems;
    
        private String source;
    
        DefaultProblemCollector(List<Problem> problems) {
            this.problems = (problems != null) ? problems : new ArrayList<>();
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

            problem = new DefaultProblem(null, null, "", -1, -1, null);
            assertEquals("", problem.getSource());
    
            problem = new DefaultProblem(null, null, "SOURCE", -1, -1, null);
            assertEquals("SOURCE", problem.getSource());
        }
    
        @Test
        void testGetLocation() {
            DefaultProblem problem = new DefaultProblem(null, null, null, -1, -1, null);
            assertEquals("", problem.getLocation());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

    - component not found
    
    Plugins:
    - plugin metadata missing
    - plugin metadata retrieval problem
    - plugin artifact missing
    - plugin artifact retrieval problem
    - plugin dependency metadata missing
    - plugin dependency metadata retrieval problem
    - plugin configuration problem
    - plugin execution failure due to something that is know to possibly go wrong (like compilation failure)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. 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)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblem.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
    - 4K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

         * @return The formatted problem location or an empty string if unknown, never {@code null}.
         */
        public static String formatLocation(ModelProblem problem, String projectId) {
            StringBuilder buffer = new StringBuilder(256);
    
            if (!problem.getModelId().equals(projectId)) {
                buffer.append(problem.getModelId());
    
                if (!problem.getSource().isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top