Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 651 - 660 of 2,240 for throwIf (0.04 seconds)

  1. android/guava/src/com/google/common/reflect/Invokable.java

       *     invocation conversion.
       * @throws InvocationTargetException if the underlying method or constructor throws an exception.
       */
      // All subclasses are owned by us and we'll make sure to get the R type right, including nullness.
      @SuppressWarnings({"unchecked", "nullness"})
      @CanIgnoreReturnValue
      public final @Nullable R invoke(@Nullable T receiver, @Nullable Object... args)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 18.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java

        public void test_execute_withNonPhraseQuery() {
            // Test with non-phrase query - should throw InvalidQueryException
            Query termQuery = new TermQuery(new Term("field", "value"));
            QueryContext context = new QueryContext("test", false);
    
            try {
                queryCommand.execute(context, termQuery, 1.0f);
                fail("Should throw InvalidQueryException for non-phrase query");
            } catch (InvalidQueryException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistantTest.java

    public class ImplementedInvokerAssistantTest extends UnitFessTestCase {
    
        private ImplementedInvokerAssistant invokerAssistant;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            invokerAssistant = new ImplementedInvokerAssistant();
        }
    
        // Test constructor
        @Test
        public void test_constructor() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

      abstract boolean isDone();
    
      /**
       * Do interruptible work here - do not complete Futures here, as their listeners could be
       * interrupted.
       */
      @ParametricNullness
      abstract T runInterruptibly() throws Exception;
    
      /**
       * Any interruption that happens as a result of calling interruptTask will arrive before this
       * method is called. Complete Futures here.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 10K bytes
    - Click Count (0)
  5. guava-gwt/test/com/google/common/GwtTestSuite.java

    public class GwtTestSuite extends TestCase {
      public static Test suite() throws IOException {
        GWTTestSuite suite = new GWTTestSuite();
        for (ClassInfo info :
            ClassPath.from(GwtTestSuite.class.getClassLoader()).getTopLevelClasses()) {
          if (info.getName().endsWith("_gwt")) {
            Class<?> clazz = info.load();
            // TODO(cpovirk): why does asSubclass() throw? Is it something about ClassLoaders?
            @SuppressWarnings("unchecked")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/graph/PackageSanityTests.java

        setDefault(EndpointPair.class, EndpointPair.ordered("A", "B"));
      }
    
      @Override
      public void testNulls() throws Exception {
        try {
          super.testNulls();
        } catch (AssertionError e) {
          assertWithMessage("Method did not throw null pointer OR element not in graph exception.")
              .that(e)
              .hasCauseThat()
              .hasMessageThat()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java

        private FessUserLocaleProcessProvider provider;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            provider = new FessUserLocaleProcessProvider();
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown(testInfo);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

        return new URLClassLoader(ClassPathUtil.getClassPathUrls(), classLoader) {
          @Override
          public Class<?> loadClass(String name) throws ClassNotFoundException {
            if (disallowedClassNames.contains(name)) {
              throw new ClassNotFoundException("I'm sorry Dave, I'm afraid I can't do that.");
            }
            if (name.startsWith(concurrentPackage)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java

    public class KeyMatchHelperTest extends UnitFessTestCase {
    
        private KeyMatchHelper keyMatchHelper;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            keyMatchHelper = new KeyMatchHelper();
            ComponentUtil.register(new SystemHelper(), "systemHelper");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

        if (clazz.isAnnotation()) {
          return (Class<? extends Annotation>) clazz;
        } else {
          throw new IllegalArgumentException(rootLocaleFormat("%s is not an annotation.", clazz));
        }
      }
    
      public void testFeatureEnums() throws Exception {
        assertGoodFeatureEnum(CollectionFeature.class);
        assertGoodFeatureEnum(ListFeature.class);
        assertGoodFeatureEnum(SetFeature.class);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top