Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 447 for setMessage (0.08 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/LatestArtifactTransformation.java

                    artifact.updateVersion(version, request.getLocalRepository());
                } catch (RepositoryMetadataResolutionException e) {
                    throw new ArtifactResolutionException(e.getMessage(), artifact, e);
                }
            }
        }
    
        @Override
        public void transformForInstall(Artifact artifact, ArtifactRepository localRepository) {
            // metadata is added via addPluginArtifactMetadata
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/InvalidArtifactRTException.java

            this.groupId = groupId;
            this.artifactId = artifactId;
            this.version = version;
            this.type = type;
            this.baseMessage = message;
        }
    
        @Override
        public String getMessage() {
            return "For artifact {" + getArtifactKey() + "}: " + getBaseMessage();
        }
    
        public String getBaseMessage() {
            return baseMessage;
        }
    
        public String getArtifactId() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                }
                return consumer.test(configId, url);
            } catch (final ThumbnailGenerationException e) {
                if (e.getCause() == null) {
                    logger.debug(e.getMessage());
                } else {
                    logger.warn("Failed to process {}", id, e);
                }
            } catch (final Exception e) {
                logger.warn("Failed to process {}", id, e);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0, false);
    
            SmbException ex = assertThrows(SmbException.class, sut::watch, "Expected SmbException when handle invalid");
            assertTrue(ex.getMessage().contains("Watch was broken by tree disconnect"));
        }
    
        // Happy path for SMB2: a response is received and the list is returned; tree is closed
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                // closing should null tmp; subsequent readDirect should fail
                in.close();
                IOException ex = assertThrows(IOException.class, () -> in.readDirect(new byte[8], 0, 4));
                assertTrue(ex.getMessage().contains("Bad file descriptor"));
            }
    
            @Test
            @DisplayName("available always returns 0")
            void availableAlwaysZero() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            } catch (FessSystemException e) {
                assertTrue(e.getMessage().contains("Invalid pruned tag"));
            }
    
            try {
                PrunedTag.parse("[invalid]");
                fail("Should have thrown FessSystemException");
            } catch (FessSystemException e) {
                assertTrue(e.getMessage().contains("Invalid pruned tag"));
            }
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 21K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbNamedPipeTest.java

                MalformedURLException ex =
                        assertThrows(MalformedURLException.class, () -> new SmbNamedPipe(url, SmbPipeResource.PIPE_TYPE_RDWR, ctx()));
                assertEquals("Named pipes are only valid on IPC$", ex.getMessage());
            }
    
            @Test
            @DisplayName("Null context throws NPE (invalid input)")
            void nullContextThrows() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java

                parser.parse(new InputSource(new StringReader(invalidXml)));
                fail("Should throw GsaConfigException");
            } catch (GsaConfigException e) {
                assertEquals("Failed to parse XML file.", e.getMessage());
            }
        }
    
        public void test_parseWithMalformedXml() {
            GsaConfigParser parser = new GsaConfigParser();
            String malformedXml = "<?xml version=\"1.0\"?><eef><unclosed>";
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            try {
                crawlingInfoHelper.store(sessionId, true);
                fail("Should throw FessSystemException");
            } catch (FessSystemException e) {
                assertEquals("No crawling session.", e.getMessage());
                assertTrue(e.getCause() instanceof RuntimeException);
            }
        }
    
        public void test_updateParams() {
            final String sessionId = "update-session";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K 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();
            }
        }
    
        /**
         * Gets the expiration time for thumbnails.
         *
         * @return the expiration time in milliseconds
         */
        public long getExpiry() {
            return expiry;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top