Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for onException (0.27 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/FaultHidingSink.kt

        try {
          super.write(source, byteCount)
        } catch (e: IOException) {
          hasErrors = true
          onException(e)
        }
      }
    
      override fun flush() {
        if (hasErrors) {
          return
        }
        try {
          super.flush()
        } catch (e: IOException) {
          hasErrors = true
          onException(e)
        }
      }
    
      override fun close() {
        try {
          super.close()
        } catch (e: IOException) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

                            logger.debug("Failed to access to {}", request.getUrl(), e);
                        }
    
                        if (listener != null) {
                            listener.onException(this, request, count, e);
                        }
    
                        if (exceptionList == null) {
                            exceptionList = new ArrayList<>();
                        }
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

            public void onRequestEnd(final FaultTolerantClient client, RequestData request, final List<Exception> exceptionList) {
                endCount++;
            }
    
            @Override
            public void onException(final FaultTolerantClient client, RequestData request, final int count, final Exception e) {
                exceptionCount++;
                exceptionUrl = request.getUrl();
            }
    
        }
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. subprojects/core/src/testFixtures/groovy/org/gradle/cache/internal/DefaultFileLockManagerTestHelper.groovy

            def lock = createDefaultFileLock(target)
            try {
                lock.writeFile {
                    throw new AnException()
                }
            } catch (AnException e) {
                lock.close()
            }
            lock = createDefaultFileLock(target)
            try {
                assert !lock.unlockedCleanly
            } finally {
                lock.close()
            }
    
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:52 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top