Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 276 for setMessage (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

                .put("one", 1); // throwing on this line would be even better
    
        IllegalArgumentException expected =
            assertThrows(IllegalArgumentException.class, () -> builder.build());
        assertThat(expected.getMessage()).contains("one");
      }
    
      public void testOf() {
        assertMapEquals(ImmutableBiMap.of("one", 1), "one", 1);
        assertMapEquals(ImmutableBiMap.of("one", 1).inverse(), 1, "one");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReaderTest.java

                            "Could not find artifact org.apache.maven.its:dep-mng5459:pom:0.4.0-20130404.090532-2 in repo ("
                                    + newTestRepository().getUrl() + ")",
                            evt.getException().getMessage());
                    missingArtifactDescriptor = true;
                }
            }
    
            assertTrue(
                    missingArtifactDescriptor,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java

                return "Deleted " + count + " thumbnail files.";
            } catch (final Exception e) {
                logger.error("Failed to purge thumbnails.", e);
                return e.getMessage();
            }
        }
    
        public long getExpiry() {
            return expiry;
        }
    
        public PurgeThumbnailJob expiry(final long expiry) {
            if (expiry > 0) {
                this.expiry = expiry;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top