Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,765 for throwIt (0.03 sec)

  1. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

            }
        }
    
        public void test_writeThreadDump() throws IOException {
            // Create a temporary file for testing
            Path tempFile = Files.createTempFile("test-thread-dump", ".txt");
    
            try {
                ThreadDumpUtil.writeThreadDump(tempFile.toString());
    
                // Verify the file was created and contains content
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Iterables.java

       *
       * <p><b>Java 8+ users:</b> the {@code Stream} equivalent to this method is {@code
       * stream.collect(MoreCollectors.onlyElement())}.
       *
       * @throws NoSuchElementException if the iterable is empty
       * @throws IllegalArgumentException if the iterable contains multiple elements
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T getOnlyElement(Iterable<T> iterable) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMultimap.java

       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final boolean putAll(Multimap<? extends K, ? extends V> multimap) {
        throw new UnsupportedOperationException();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/TestThread.java

       *
       * @throws TimeoutException if this thread does not offer a response within a reasonable amount of
       *     time
       * @throws AssertionFailedError if the given method name does not match the name of the method
       *     this thread has called most recently
       */
      private Response getResponse(String methodName) throws Exception {
        Response response = responseQueue.poll(TIMEOUT_MILLIS, MILLISECONDS);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Tables.java

            @ParametricNullness V value) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public void putAll(Table<? extends R, ? extends C, ? extends V> table) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public @Nullable V remove(@Nullable Object rowKey, @Nullable Object columnKey) {
          throw new UnsupportedOperationException();
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        verifyThreadWasNotInterrupted();
      }
    
      public void testFailed() throws Exception {
        Exception e = new Exception();
        TrustedListenableFutureTask<Integer> task =
            TrustedListenableFutureTask.create(
                new Callable<Integer>() {
                  @Override
                  public Integer call() throws Exception {
                    throw e;
                  }
                });
        task.run();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

        }
      }
    
      /**
       * @throws UnsupportedOperationException {@inheritDoc}
       * @throws ClassCastException {@inheritDoc}
       * @throws NullPointerException {@inheritDoc}
       * @throws IllegalArgumentException {@inheritDoc}
       */
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public int drainTo(Collection<? super E> c) {
        if (c == null) throw new NullPointerException();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/org/codelibs/curl/CurlRequest.java

            }
        }
    
        /**
         * Opens a connection to the specified URL.
         *
         * @param u the URL
         * @return the HttpURLConnection
         * @throws IOException if an I/O exception occurs
         */
        protected HttpURLConnection open(final URL u) throws IOException {
            final HttpURLConnection connection = (HttpURLConnection) (proxy != null ? u.openConnection(proxy) : u.openConnection());
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/UnmodifiableListIterator.java

      /**
       * Guaranteed to throw an exception and leave the underlying data unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final void add(@ParametricNullness E e) {
        throw new UnsupportedOperationException();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top