Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 619 for getMessage (0.42 seconds)

  1. src/main/java/org/codelibs/fess/helper/MarkdownRenderer.java

                }
    
                return sanitizedHtml;
            } catch (final Exception e) {
                logger.warn("Failed to render markdown, returning escaped plain text. error={}", e.getMessage());
                // Fallback to escaped plain text
                return escapeHtml(markdown);
            }
        }
    
        /**
         * Escapes HTML special characters for safe display.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/sql/StatementUtil.java

            if (statement == null) {
                return;
            }
            try {
                statement.close();
            } catch (final SQLException e) {
                logger.log(format("ECL0017", e.getMessage()), e);
            }
        }
    
        /**
         * Returns the result set.
         *
         * @param statement
         *            {@link Statement}. Must not be {@literal null}.
         * @return The result set.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 5K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

                }
            }
    
            try {
                repoSystem.install(session, request);
            } catch (InstallationException e) {
                throw new ArtifactInstallationException(e.getMessage(), e);
            }
    
            /*
             * NOTE: Not used by Maven core, only here to provide backward-compat with plugins like the Install Plugin.
             */
    
            if (artifact.isSnapshot()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            try {
                emptyGenerator.isTarget(docMap);
            } catch (IllegalStateException e) {
                // Expected when container is not initialized
                assertTrue(e.getMessage().contains("Not initialized"));
            }
        }
    
        @Test
        public void test_getName() {
            // Initialize without container
            emptyGenerator = new EmptyGenerator();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

            for (ModelProblem problem : problems) {
                writer.print("[");
                writer.print(problem.getSeverity());
                writer.print("] ");
                writer.print(problem.getMessage());
                writer.print(" @ ");
                writer.println(ModelProblemUtils.formatLocation(problem, modelId));
            }
    
            return buffer.toString();
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

                } finally {
                    TestIterator.staticThrowOnOpen = false; // Reset flag
                }
            });
            assertEquals("open fail", ex.getMessage());
            verify(tree, times(1)).release(); // closed on constructor failure
        }
    
        @Test
        @DisplayName("Iteration skips '.' and '..' and returns valid entries")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  7. compat/maven-toolchain-model/src/main/java/org/apache/maven/toolchain/model/io/xpp3/MavenToolchainsXpp3Reader.java

            try {
                return new PersistedToolchains(delegate.read(reader, strict, null));
            } catch (XMLStreamException e) {
                throw new XmlPullParserException(e.getMessage(), null, e);
            }
        }
    
        /**
         * @param reader a reader object.
         * @return PersistedToolchains
         * @throws IOException IOException if any.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat May 31 10:30:45 GMT 2025
    - 5K bytes
    - Click Count (0)
  8. build-tools-internal/src/test/java/org/elasticsearch/gradle/DistributionDownloadPluginTests.java

        ) {
            IllegalArgumentException e = expectThrows(
                IllegalArgumentException.class,
                () -> checkDistro(project, name, version, type, platform, bundledJdk)
            );
            assertThat(e.getMessage(), containsString(message));
        }
    
        // create a distro and finalize its configuration
        private ElasticsearchDistribution checkDistro(
            Project project,
            String name,
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 6.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/spnego/NegTokenInitTest.java

                    null, null);
    
            IOException ex = assertThrows(IOException.class, () -> new NegTokenInit(token));
            assertTrue(ex.getMessage().contains("OID"), "Error should mention OID");
        }
    
        @Test
        @DisplayName("Parse accepts non-zero outer tag numbers (current implementation behavior)")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java

                        return true;
                    }
                } catch (final Exception e) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Silent token refresh failed: {}", e.getMessage());
                    }
                }
                // For MSAL4J, if silent refresh fails, return true if token is still valid
                // Actual refresh will happen during next authentication request
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top