Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for throwIt (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

                } ?: return
              }
            } catch (thrown: Throwable) {
              // A task failed. Update execution state and re-throw the exception.
              withLock {
                afterRun(task, -1L, false)
              }
              if (thrown is InterruptedException) {
                Thread.currentThread().interrupt()
              } else {
                throw thrown
              }
            } finally {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. docs/recipes.md

          private final OkHttpClient client = new OkHttpClient();
    
          public void run() throws Exception {
            RequestBody requestBody = new RequestBody() {
              @Override public MediaType contentType() {
                return MEDIA_TYPE_MARKDOWN;
              }
    
              @Override public void writeTo(BufferedSink sink) throws IOException {
                sink.writeUtf8("Numbers\n");
                sink.writeUtf8("-------\n");
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

         * @param listener the response listener
         * @throws UnsupportedOperationException always thrown as this operation is not implemented
         */
        @Override
        public void searchView(org.opensearch.action.admin.indices.view.SearchViewAction.Request request,
                ActionListener<SearchResponse> listener) {
            throw new UnsupportedOperationException("Not implemented yet");
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

        @Override
        public MediaType contentType() {
          return delegate.contentType();
        }
    
        @Override
        public long contentLength() throws IOException {
          return delegate.contentLength();
        }
    
        @Override
        public void writeTo(BufferedSink sink) throws IOException {
          BufferedSink bufferedSink = Okio.buffer(sink(sink));
          delegate.writeTo(bufferedSink);
          bufferedSink.flush();
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (1)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

          if (!response.isSuccessful) throw IOException("Unexpected code $response")
          println(response.body.string())
        }
      }
    
      private class ProgressRequestBody(
        private val delegate: RequestBody,
        private val progressListener: ProgressListener,
      ) : RequestBody() {
        override fun contentType() = delegate.contentType()
    
        @Throws(IOException::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

            "retry:".encodeUtf8(),
          )
    
        private val CRLF = "\r\n".encodeUtf8()
    
        @Throws(IOException::class)
        private fun BufferedSource.readData(data: Buffer) {
          data.writeByte('\n'.code)
          readFully(data, indexOfElement(CRLF))
          select(options) // Skip the newline bytes.
        }
    
        @Throws(IOException::class)
        private fun BufferedSource.readRetryMs(): Long {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            generator = new CommandGenerator();
        }
    
        // Basic setter tests
        public void test_setCommandTimeout() throws Exception {
            final long timeout = 5000L;
            generator.setCommandTimeout(timeout);
            assertTrue(true);
        }
    
        public void test_setCommandDestroyTimeout() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/Types.java

        @Override
        public @Nullable Object invoke(Object proxy, Method method, @Nullable Object @Nullable [] args)
            throws Throwable {
          String methodName = method.getName();
          Method typeVariableMethod = typeVariableMethods.get(methodName);
          if (typeVariableMethod == null) {
            throw new UnsupportedOperationException(methodName);
          } else {
            try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/Types.java

        @Override
        public @Nullable Object invoke(Object proxy, Method method, @Nullable Object @Nullable [] args)
            throws Throwable {
          String methodName = method.getName();
          Method typeVariableMethod = typeVariableMethods.get(methodName);
          if (typeVariableMethod == null) {
            throw new UnsupportedOperationException(methodName);
          } else {
            try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/BloomFilter.java

       * <b>Warning:</b> the funnel provided <b>must</b> behave identically to the one used to populate
       * the original Bloom filter!
       *
       * @throws IOException if the InputStream throws an {@code IOException}, or if its data does not
       *     appear to be a BloomFilter serialized using the {@linkplain #writeTo(OutputStream)} method.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
Back to top