Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 220 for setMessage (0.19 sec)

  1. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

            if (systemClassLoader != null) {
                return systemClassLoader;
            }
    
            throw new ClIllegalStateException(MessageFormatter.getMessage("ECL0001", "ClassLoader"));
        }
    
        /**
         * Returns <code>true</code> if the class loader <code>other</code> is an ancestor of the class loader <code>cl</code>.
         *
         * @param cl
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      private enum OtherOrder {
        FIRST,
        SECOND,
        THIRD;
      }
    
      // Given a sequence of lock acquisition descriptions
      // (e.g. "LockA -> LockB", "LockB -> LockC", ...)
      // Checks that the exception.getMessage() matches a regex of the form:
      // "LockA -> LockB \b.*\b LockB -> LockC \b.*\b LockC -> LockA"
      private void checkMessage(IllegalStateException exception, String... expectedLockCycle) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      private enum OtherOrder {
        FIRST,
        SECOND,
        THIRD;
      }
    
      // Given a sequence of lock acquisition descriptions
      // (e.g. "LockA -> LockB", "LockB -> LockC", ...)
      // Checks that the exception.getMessage() matches a regex of the form:
      // "LockA -> LockB \b.*\b LockB -> LockC \b.*\b LockC -> LockA"
      private void checkMessage(IllegalStateException exception, String... expectedLockCycle) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ShortsTest.java

          Shorts.checkedCast(value);
          fail("Cast to short 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
    - 27.6K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

                fail("Should throw IllegalArgumentException for negative boost");
            } catch (IllegalArgumentException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("negative [boost] are not allowed"));
            }
        }
    
        public void test_execute_multipleInvocations() {
            // Test that multiple invocations return consistent results
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  7. mockwebserver/api/mockwebserver3.api

    	public final fun getHeaders ()Lokhttp3/Headers;
    	public final fun getHeadersDelayNanos ()J
    	public final fun getInTunnel ()Z
    	public final fun getInformationalResponses ()Ljava/util/List;
    	public final fun getMessage ()Ljava/lang/String;
    	public final fun getOnRequestBody ()Lmockwebserver3/SocketEffect;
    	public final fun getOnRequestStart ()Lmockwebserver3/SocketEffect;
    	public final fun getOnResponseBody ()Lmockwebserver3/SocketEffect;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  8. 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 (0)
  9. 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)
  10. src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java

            try {
                queryProcessor.execute(context, termQuery, 1.0f);
                fail();
            } catch (InvalidQueryException e) {
                // expected
                assertTrue(e.getMessage().contains("Unknown q:"));
            }
        }
    
        public void test_convertPrefixQuery_withDefaultField() throws Exception {
            QueryContext context = new QueryContext("test", false);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top