Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1281 - 1290 of 1,812 for rethrow (0.09 sec)

  1. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

        }
        return trustManagers[0] as X509TrustManager
      }
    
      override fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager =
        throw UnsupportedOperationException(
          "clientBuilder.sslSocketFactory(SSLSocketFactory) not supported with OpenJSSE",
        )
    
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

                            if (map.remove(key, oldValue)) {
                              threadSum -= oldValue;
                            }
                            break;
                          default:
                            throw new AssertionError();
                        }
                      }
                      return threadSum;
                    }
                  }));
        }
        threadPool.shutdown();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java

       *
       * @throws RejectedExecutionException if the executor has been previously shutdown
       */
      private void startTask() {
        synchronized (lock) {
          if (shutdown) {
            throw new RejectedExecutionException("Executor already shutdown");
          }
          runningTasks++;
        }
      }
    
      /** Decrements the running task count. */
      private void endTask() {
        synchronized (lock) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/MultiReaderTest.java

        int[] counter = new int[1];
        CharSource reader =
            new CharSource() {
              @Override
              public Reader openStream() throws IOException {
                if (counter[0]++ != 0) {
                  throw new IllegalStateException("More than one source open");
                }
                return new FilterReader(source.openStream()) {
                  @Override
                  public void close() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java

        expectAdded(e0());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      /*
       * absent = ZERO isn't required, since unmodList.add() must
       * throw regardless, but it keeps the method name accurate.
       */
      public void testAdd_unsupportedPresent() {
        assertThrows(UnsupportedOperationException.class, () -> getList().add(e0()));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/PacSignature.java

                    this.checksum = new byte[bufferStream.available()];
                    break;
                }
                bufferStream.readFully(this.checksum);
            } catch (final IOException e) {
                throw new PACDecodingException("Malformed PAC signature", e);
            }
        }
    
        /**
         * Gets the checksum type of this signature.
         *
         * @return the checksum type constant
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/ShareEnumIterator.java

         */
        @Override
        public void close() {
            // nothing to clean up
            this.next = null;
        }
    
        @Override
        public void remove() {
            throw new UnsupportedOperationException("remove");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DosFileFilterTest.java

         * The wildcard parameter is stored but its filtering logic is handled server-side,
         * so we only verify its acceptance here.
         */
        @Test
        void testConstructor() {
            // The constructor should not throw any exceptions with valid inputs.
            new DosFileFilter("*.*", SmbFile.ATTR_ARCHIVE);
            new DosFileFilter("?", SmbFile.ATTR_DIRECTORY);
            new DosFileFilter("file.txt", SmbFile.ATTR_READONLY | SmbFile.ATTR_HIDDEN);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            String sessionId = "test-session-013";
            urlFilter.init(sessionId);
    
            try {
                urlFilter.processUrl(null);
                // Should handle null gracefully or throw appropriate exception
            } catch (NullPointerException e) {
                // Expected behavior for null input
                assertTrue(true);
            }
        }
    
        /**
         * Test processUrl with empty URL
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

            queryFieldConfig.highlightedFields = null;
    
            // When highlightedFields is null, the method should handle it gracefully
            // or throw an exception. Test the actual behavior.
            queryFieldConfig.highlightedFields(stream -> {
                // If it doesn't throw NPE, it should provide an empty stream
                assertEquals(0, stream.count());
            });
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33.2K bytes
    - Viewed (0)
Back to top