Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 447 for getMessages (0.05 sec)

  1. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            };
    
            try {
                stopwordsFile.reload(null, failingStream);
                fail("Should throw DictionaryException");
            } catch (DictionaryException e) {
                assertTrue(e.getMessage().contains("Failed to parse"));
            }
        }
    
        // Test update with InputStream
        public void test_update_withInputStream() throws IOException {
            String content = "new1\n" + "new2\n" + "new3\n";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                    assertArrayEquals(ciphers, decoded.getCiphers());
                } catch (SMBProtocolDecodingException e) {
                    fail("Should not throw exception: " + e.getMessage());
                }
            }
    
            @Test
            @DisplayName("Should verify cipher constants")
            void testCipherConstants() {
                // Verify the cipher constants are correctly defined
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                        assertThrows(SMBProtocolDecodingException.class, () -> echoResponse.readBytesWireFormat(buffer, bufferIndex));
    
                assertEquals("Expected structureSize = 4", exception.getMessage());
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 100, 65535 })
            @DisplayName("Should throw exception for various invalid structure sizes")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

                }
                assertImageSize(outputFile, 100, 100);
            } catch (IllegalStateException e) {
                // Expected when container is not initialized
                if (e.getMessage().contains("Not initialized")) {
                    // Skip test when container is not available
                    return;
                }
                throw e;
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/message/MessageFormatter.java

        /**
         * Returns the message.
         *
         * @param messageCode
         *            Message code
         * @param args
         *            Arguments
         * @return Message
         */
        public static String getMessage(final String messageCode, final Object... args) {
            return getFormattedMessage(messageCode == null ? "" : messageCode, getSimpleMessage(messageCode, args));
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. 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.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. 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()) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

            try {
                return settingsBuilder.build(request).getEffectiveSettings();
            } catch (SettingsBuildingException e) {
                throw new IOException(e.getMessage(), e);
            }
        }
    
        /** @since 2.1 */
        @Override
        public Settings buildSettings(MavenExecutionRequest request) throws IOException, XmlPullParserException {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

                    writeSecurityBuffer(type1, 24, 32 + domain.length, workstation);
                }
                return type1;
            } catch (final IOException ex) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
        @Override
        public String toString() {
            final String suppliedDomain = getSuppliedDomain();
            final String suppliedWorkstation = getSuppliedWorkstation();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

                    throw e;
                } catch (final Exception e) {
                    throw new SsoMessageException(
                            messages -> messages.addErrorsFailedToProcessSsoRequest(UserMessages.GLOBAL_PROPERTY_KEY, e.getMessage()),
                            "Failed to process metadata.", e);
                }
            })
                    .orElseThrow(() -> new SsoMessageException(
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.4K bytes
    - Viewed (1)
Back to top