Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 220 for setMessage (0.1 sec)

  1. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

          listener.sessionGranted(session);
        } catch (IOException e) {
          return new MockResponse()
              .setResponseCode(400)
              .setBody("code exchange failed: " + e.getMessage());
        }
    
        synchronized (this) {
          listeners.remove(state);
        }
    
        // Success!
        return new MockResponse()
            .setResponseCode(302)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

        }
    
        public void test_init() {
            try {
                fileTypeHelper.init();
            } catch (Exception e) {
                fail("init() should not throw an exception: " + e.getMessage());
            }
        }
    
        public void test_add() {
            fileTypeHelper.add("application/pdf", "pdf");
            assertEquals("pdf", fileTypeHelper.get("application/pdf"));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java

            assertThat(ex.getMessageCode(), is("ECL0001"));
            assertThat(ex.getArgs().length, is(1));
            assertThat(ex.getArgs()[0], is((Object) "hoge"));
            System.out.println(ex.getMessage());
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetCause() throws Exception {
            final Throwable t = new NullPointerException("test");
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java

            try {
                queryCommand.execute(context, termQuery, 1.0f);
                fail("Should throw InvalidQueryException for non-phrase query");
            } catch (InvalidQueryException e) {
                assertTrue(e.getMessage().contains("Unknown q:"));
            }
        }
    
        public void test_convertPhraseQuery_emptyTerms() {
            // Test with empty phrase query - should throw InvalidQueryException
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/AggregateLogJob.java

            try {
                searchLogHelper.storeSearchLog();
            } catch (final Exception e) {
                logger.error("Failed to store a search log.", e);
                resultBuf.append(e.getMessage()).append("\n");
            }
    
            return resultBuf.toString();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/SloppyTearDown.java

      @Override
      public final void tearDown() {
        try {
          sloppyTearDown();
        } catch (Throwable t) {
          logger.log(Level.INFO, "exception thrown during tearDown: " + t.getMessage(), t);
        }
      }
    
      public abstract void sloppyTearDown() throws Exception;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            } catch (org.codelibs.core.exception.ResourceNotFoundRuntimeException e) {
                // Expected behavior
                assertTrue(e.getMessage().contains("dir") && e.getMessage().contains("file.conf"));
            }
        }
    
        public void test_getClassesPath() {
            Path classesPath = ResourceUtil.getClassesPath("test.class");
            assertNotNull(classesPath);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            try {
                generator.isTarget(docMap);
            } catch (IllegalStateException e) {
                // Expected when container is not initialized
                assertTrue(e.getMessage().contains("Not initialized"));
            }
        }
    
        public void test_addCondition() {
            // Test adding conditions
            generator = new TestThumbnailGenerator();
    
            // Test adding single condition
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            } catch (FessSystemException e) {
                assertTrue(e.getMessage().contains("Invalid pruned tag"));
            }
    
            try {
                PrunedTag.parse("[invalid]");
                fail("Should have thrown FessSystemException");
            } catch (FessSystemException e) {
                assertTrue(e.getMessage().contains("Invalid pruned tag"));
            }
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

                long actualInterval = (Long) field.get(dataIndexHelper);
                assertEquals(interval, actualInterval);
            } catch (Exception e) {
                fail("Failed to verify crawlingExecutionInterval: " + e.getMessage());
            }
        }
    
        public void test_setCrawlerPriority() {
            int priority = Thread.NORM_PRIORITY; // Use normal priority for tests
            dataIndexHelper.setCrawlerPriority(priority);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top