Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for onException (0.05 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: Fri Nov 01 11:42:11 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: Sun Nov 10 03:50:12 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: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top