Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 469 for getMessage (0.06 sec)

  1. android/guava-tests/test/com/google/common/primitives/IntsTest.java

          Ints.checkedCast(value);
          fail("Cast to int should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage(value + " not found in exception text: " + ex.getMessage())
              .that(ex.getMessage().contains(String.valueOf(value)))
              .isTrue();
        }
      }
    
      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java

                fessConfig.get("non.existent.property");
                fail("Should throw ConfigPropertyNotFoundException");
            } catch (ConfigPropertyNotFoundException e) {
                assertEquals("non.existent.property", e.getMessage());
            }
        }
    
        // Test isExtensionAllowed method
        /*
        // Commented out - methods don't exist in FessConfig
        public void test_isExtensionAllowed() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

            try {
                testTransformer.transform(responseData);
                fail("Should throw CrawlerSystemException");
            } catch (CrawlerSystemException e) {
                assertEquals("Test exception", e.getMessage());
            }
    
            assertEquals(1, testTransformer.getTransformCallCount());
        }
    
        /**
         * Test getData implementation
         */
        public void test_getData_implementation() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

                assertEquals("xyz", getIdMethod.invoke(crawlingConfigHelper, "Dxyz"));
            } catch (Exception e) {
                fail("Failed to test getId method: " + e.getMessage());
            }
        }
    
        public void test_getCrawlingConfig_cacheExceptionHandling() {
            // Register a service that throws exception
            ComponentUtil.register(new WebConfigService() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         *
         * @param key the message key
         * @param defaultValue the default value to return if message not found
         * @return localized message or default value
         */
        public static String getMessage(final String key, final String defaultValue) {
            final Locale locale = LaRequestUtil.getOptionalRequest().map(HttpServletRequest::getLocale).orElse(Locale.ROOT);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (1)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

                }
            });
    
            try {
                factory.destroyObject(pooledObject);
                fail("Should propagate exception from listener");
            } catch (Exception e) {
                assertTrue(e.getMessage().contains("Test exception"));
            }
        }
    
        /**
         * Test getter and setter for componentName
         */
        public void test_componentName_getterSetter() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                }
            } catch (final ComponentNotFoundException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("tikaExtractor is not found: {}", e.getMessage().replace('\n', ' '));
                }
            } catch (final Exception e) {
                logger.warn("Failed to initiaize TikaExtractor.", e);
            }
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                        } catch (Exception e) {
                            throw new SMBProtocolDecodingException(
                                    "Failed to decode negotiate context at position " + i + ": " + e.getMessage(), e);
                        }
                    }
                    ncpos += dataLen;
                    if (i != negotiateContextCount - 1) {
                        int padding = pad8(ncpos);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

                                // Expected if closed
                            }
                        }
                    } catch (Exception e) {
                        fail("Unexpected exception: " + e.getMessage());
                    } finally {
                        completeLatch.countDown();
                    }
                }).start();
            }
    
            // Start all threads simultaneously
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFile.java

                        } catch (RuntimeException e) {
                            if (log.isDebugEnabled()) {
                                log.debug("Failed to add lease context for {}, continuing without leases: {}", uncPath, e.getMessage());
                            }
                        }
                    }
    
                    // Enable persistent handles if available, with fallback for compatibility
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top