Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 759 for severity (0.08 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                                return problem.getMessage();
                            }
    
                            @Override
                            public Severity getSeverity() {
                                return Severity.valueOf(problem.getSeverity().name());
                            }
                        };
                    }
    
                    @Nonnull
                    @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/validation/DefaultModelValidator.java

            SimpleModelProblemCollector(ModelValidationResult result) {
                this.result = result;
            }
    
            public void add(ModelProblemCollectorRequest req) {
                if (!ModelProblem.Severity.WARNING.equals(req.getSeverity())) {
                    result.addMessage(req.getMessage());
                }
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

       * public static void main(String[] args) {
       *   Thread.currentThread().setUncaughtExceptionHandler(UncaughtExceptionHandlers.systemExit());
       *   ...
       * </pre>
       *
       * <p>The returned handler logs any exception at severity {@code SEVERE} and then shuts down the
       * process with an exit status of 1, indicating abnormal termination.
       */
      public static UncaughtExceptionHandler systemExit() {
        return new Exiter(Runtime.getRuntime());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.api.model.Model;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblem.Severity;
    import org.apache.maven.model.building.ModelProblem.Version;
    import org.apache.maven.model.building.ModelProblemCollector;
    import org.apache.maven.model.building.ModelProblemCollectorRequest;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

        }
    
        private static class SimpleProblemCollector implements SettingsProblemCollector {
    
            public List<String> messages = new ArrayList<>();
    
            public void add(Severity severity, String message, int line, int column, Exception cause) {
                messages.add(message);
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java

    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    
    import static java.util.Collections.singleton;
    import static org.apache.maven.model.building.ModelProblem.Severity.ERROR;
    import static org.apache.maven.model.building.ModelProblem.Severity.FATAL;
    
    /**
     * There are various forms of results that are represented by this class:
     * <ol>
     * <li>success - in which case only the model field is set
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

       * public static void main(String[] args) {
       *   Thread.currentThread().setUncaughtExceptionHandler(UncaughtExceptionHandlers.systemExit());
       *   ...
       * </pre>
       *
       * <p>The returned handler logs any exception at severity {@code SEVERE} and then shuts down the
       * process with an exit status of 1, indicating abnormal termination.
       */
      public static UncaughtExceptionHandler systemExit() {
        return new Exiter(Runtime.getRuntime());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

        private List<Problem> convert(List<BuilderProblem> problems) {
            ProblemCollector collector = ProblemCollectorFactory.newInstance(null);
            problems.forEach(p -> collector.add(
                    Problem.Severity.valueOf(p.getSeverity().name()),
                    p.getMessage(),
                    p.getLineNumber(),
                    p.getColumnNumber(),
                    p.getException()));
            return collector.getProblems();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            for (SettingsProblem problem : decrypted.getProblems()) {
                if (problem.getSeverity() == SettingsProblem.Severity.WARNING) {
                    logger.warn(problem.getMessage());
                } else if (problem.getSeverity() == SettingsProblem.Severity.ERROR) {
                    logger.error(
                            problem.getMessage(),
                            request.isShowErrors()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

            final List<ProfileActivationException> errors = new ArrayList<>();
    
            List<Profile> profiles = profileSelector.getActiveProfiles(profilesById.values(), context, req -> {
                if (!ModelProblem.Severity.WARNING.equals(req.getSeverity())) {
                    errors.add(new ProfileActivationException(req.getMessage(), req.getException()));
                }
            });
    
            if (!errors.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top