Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 273 for genMessage (0.06 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/validation/DefaultModelValidator.java

                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)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

                return model;
            } catch (XMLStreamException e) {
                Location location = e.getLocation();
                throw new ModelParseException(
                        e.getMessage(),
                        location != null ? location.getLineNumber() : -1,
                        location != null ? location.getColumnNumber() : -1,
                        e);
            } catch (Exception e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

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

        public ModelValidationResult() {
            messages = new ArrayList<>();
        }
    
        public int getMessageCount() {
            return messages.size();
        }
    
        public String getMessage(int i) {
            return messages.get(i);
        }
    
        public List<String> getMessages() {
            return Collections.unmodifiableList(messages);
        }
    
        public void addMessage(String message) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java

            NullPointerException e = assertThrows(
                    NullPointerException.class, () -> new UrlSource(null), "Should fail, since you must specify a url");
            assertEquals("url cannot be null", e.getMessage());
        }
    
        @Test
        void testGetInputStream() throws Exception {
            URL txtFile = new File("target/test-classes/source.txt").toURI().toURL();
            UrlSource source = new UrlSource(txtFile);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                    logger.warn(problem.getMessage());
                } else if (problem.getSeverity() == SettingsProblem.Severity.ERROR) {
                    logger.error(
                            problem.getMessage(),
                            request.isShowErrors()
                                    ? problem.getException()
                                    : problem.getException().getMessage());
                }
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptParser.java

            try {
                return CommonsCliEncryptOptions.parse(args.toArray(new String[0]));
            } catch (ParseException e) {
                throw new ParserException("Failed to parse command line options: " + e.getMessage(), e);
            }
        }
    
        @Override
        protected EncryptOptions assembleOptions(List<EncryptOptions> parsedOptions) {
            // nothing to assemble, we deal with CLI only
            return parsedOptions.get(0);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                if (logger.isInfoEnabled()) {
                    final StringBuilder buf = new StringBuilder(100);
                    buf.append(e.getMessage());
                    if (e.getCause() != null) {
                        buf.append(e.getCause().getMessage());
                    }
                    logger.info(buf.toString());
                } else if (logger.isDebugEnabled()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
  9. compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

                    NullPointerException.class,
                    () -> new FileSource((File) null),
                    "Should fail, since you must specify a file");
            assertEquals("file cannot be null", e.getMessage());
        }
    
        @Test
        void testGetInputStream() throws Exception {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/ExtensionResolutionException.java

            super(
                    "Extension " + extension.getId() + " or one of its dependencies could not be resolved: "
                            + cause.getMessage(),
                    cause);
            this.extension = extension;
        }
    
        public CoreExtension getExtension() {
            return extension;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top