Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1691 - 1700 of 2,324 for exception (0.08 sec)

  1. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.web.api.ApiFailureHook;
    import org.lastaflute.web.api.ApiFailureResource;
    import org.lastaflute.web.login.exception.LoginUnauthorizedException;
    import org.lastaflute.web.response.ApiResponse;
    import org.lastaflute.web.response.JsonResponse;
    
    /**
     * The hook for API failure.
     *
     * @author jflute
     */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java

        ms.add("a", 3);
        ms.add("c", 1);
        ms.add("b", 2);
    
        assertEquals("[a x 3, c, b x 2]", ms.toString());
      }
    
      public void testLosesPlaceInLine() throws Exception {
        Multiset<String> ms = LinkedHashMultiset.create();
        ms.add("a");
        ms.add("b", 2);
        ms.add("c");
        assertThat(ms.elementSet()).containsExactly("a", "b", "c").inOrder();
        ms.remove("b");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCache.java

         * @return The result from the supplier (either fresh or cached)
         * @throws RuntimeException Any exception thrown by the supplier will be cached and re-thrown on subsequent calls
         */
        <REQ extends Request<?>, REP extends Result<REQ>> REP request(REQ req, Function<REQ, REP> supplier);
    
        /**
         * Executes and optionally caches a batch of requests using the provided supplier function.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java

    /**
     * @author shinsuke
     *
     */
    public class CrawlerClientFactoryTest extends PlainTestCase {
        public CrawlerClientFactory clientFactory;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("mimeTypeHelper", MimeTypeHelperImpl.class)//
                    .singleton("httpClient", FaultTolerantClient.class)//
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt

            this.bytesReceived += byteCount
          } catch (e: IOException) {
            throw complete(e)!!
          }
        }
    
        @Throws(IOException::class)
        override fun flush() {
          try {
            super.flush()
          } catch (e: IOException) {
            throw complete(e)!!
          }
        }
    
        @Throws(IOException::class)
        override fun close() {
          if (closed) return
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            assertFalse(tempFile.exists());
    
            ContentCache cache = new ContentCache(tempFile);
    
            // Should throw IOException when file doesn't exist
            try {
                cache.close();
                fail("Expected IOException for non-existent file");
            } catch (IOException e) {
                // Expected - file doesn't exist
            }
        }
    
        @Test
        public void testMemoryCacheWithNullData() {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          if (actualException instanceof InterruptedException) {
            return Outcome.INTERRUPT;
          } else {
            throw new AssertionError("unexpected exception", targetException);
          }
        } catch (IllegalAccessException e) {
          throw new AssertionError("unexpected exception", e);
        }
      }
    
      private void enterSatisfyGuardAndLeaveInCurrentThread() {
        monitor.enter();
        try {
          guard.setSatisfied(true);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

    import org.codelibs.fess.util.ComponentUtil;
    
    public class QueryFieldConfigTest extends UnitFessTestCase {
    
        private QueryFieldConfig queryFieldConfig;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            FessConfig fessConfig = new FessConfig.SimpleImpl() {
    
                @Override
                public String[] getQueryAdditionalResponseFields(String... fields) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      @Throws(IOException::class)
      fun loopReader(response: Response) {
        try {
          listener.onOpen(this@RealWebSocket, response)
          while (receivedCloseCode == -1) {
            // This method call results in one or more onRead* methods being called on this thread.
            reader!!.processNextFrame()
          }
        } catch (e: Exception) {
          failWebSocket(e = e)
        } finally {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

              public String load(String key) throws InterruptedException {
                int behavior = random.nextInt(4);
                if (behavior == 0) { // throw an exception
                  exceptionCount.incrementAndGet();
                  throw new RuntimeException("fake exception for test");
                } else if (behavior == 1) { // return null
                  computeNullCount.incrementAndGet();
                  return null;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.1K bytes
    - Viewed (0)
Back to top