Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 391 - 400 of 619 for getMessage (0.31 seconds)

  1. src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java

            try {
                helper.init();
                assertNotNull(helper.duplicateHostList);
            } catch (Exception e) {
                fail("init() should not throw an exception: " + e.getMessage());
            }
        }
    
        @Test
        public void test_setDuplicateHostList() {
            DuplicateHostHelper helper = new DuplicateHostHelper();
            List<DuplicateHost> testList = new ArrayList<>();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      }
    
      private static void assertErrorMessage(Throwable e, String message) {
        // TODO(kevinb): use a Truth assertion here
        if (!e.getMessage().contains(message)) {
          fail("expected <" + e.getMessage() + "> to contain <" + message + ">");
        }
      }
    
      /**
       * Test class with valid equals and hashCode methods. Testers created with instances of this class
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  3. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/util/LogNotificationAppender.java

            final LogNotificationEvent notificationEvent = new LogNotificationEvent( //
                    event.getTimeMillis(), //
                    event.getLevel().name(), //
                    loggerName, //
                    event.getMessage().getFormattedMessage(), //
                    throwableStr //
            );
            helper.offer(notificationEvent);
        }
    
        private Level getEffectiveMinLevel() {
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java

                while (rootCause.getCause() != null && rootCause.getCause() != rootCause) {
                    rootCause = rootCause.getCause();
                }
                String message = rootCause.getMessage();
                assertTrue("Exception message should mention unregistered class: " + message,
                        message != null && (message.contains("not registered") || message.contains("Class is not registered")
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/app/service/CrawlingInfoServiceTest.java

                crawlingInfoService.setupStoreCondition(null);
                fail("Should throw FessSystemException for null input");
            } catch (final FessSystemException e) {
                assertEquals("Crawling Session is null.", e.getMessage());
            }
        }
    
        @Test
        public void test_crawlingInfoPager_initialization() {
            final CrawlingInfoPager pager = new CrawlingInfoPager();
            assertNull(pager.id);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/exception/ClSQLException.java

         */
        public ClSQLException(final String messageCode, final Object[] args, final String sqlState, final int vendorCode, final Throwable cause,
                final String sql) {
            super(MessageFormatter.getMessage(messageCode, args), sqlState, vendorCode, cause);
            this.messageCode = messageCode;
            this.args = args;
            this.sql = sql;
        }
    
        /**
         * Returns the message code.
         *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 5.4K bytes
    - Click Count (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 {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

                    IllegalStateException.class,
                    () -> assertActivation(false, newExistsProfile("${project.rootDirectory}"), context));
            assertEquals(RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE, e.getMessage());
        }
    
        @Test
        void testRootDirectory() {
            assertActivation(false, newExistsProfile("${project.rootDirectory}/someFile.txt"), context);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/crawler/interval/FessIntervalControllerTest.java

                // without propagating them
                controller.delayForWaitingNewUrl();
            } catch (Exception e) {
                fail("delayForWaitingNewUrl should not throw exceptions: " + e.getMessage());
            }
        }
    
        /**
         * Test boundary values for delay settings
         */
        @Test
        public void test_delayBoundaryValues() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 6.2K bytes
    - Click Count (0)
Back to Top