Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 1,779 for throwIf (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/helper/JobHelper.java

                }
            } catch (final Exception e) {
                throw new ScheduledJobException("Failed to delete Job: " + scheduledJob, e);
            }
        }
    
        /**
         * Removes a scheduled job completely from the job manager.
         *
         * @param scheduledJob the scheduled job to remove
         * @throws ScheduledJobException if the job cannot be removed
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/testing/TearDownStack.java

            if (suppressThrows) {
              logger.log(Level.INFO, "exception thrown during tearDown", t);
            } else {
              if (exception == null) {
                exception = t;
              } else {
                exception.addSuppressed(t);
              }
            }
          }
        }
        if (exception != null) {
          throwIfUnchecked(exception);
          throw new RuntimeException("failure during tearDown", exception);
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 01 13:14:50 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/testing/TearDownStack.java

            if (suppressThrows) {
              logger.log(Level.INFO, "exception thrown during tearDown", t);
            } else {
              if (exception == null) {
                exception = t;
              } else {
                exception.addSuppressed(t);
              }
            }
          }
        }
        if (exception != null) {
          throwIfUnchecked(exception);
          throw new RuntimeException("failure during tearDown", exception);
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 01 13:14:50 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/ForwardingExecutorServiceTest.java

      }
    
      public void testNoForwardingOfDefaultMethod() throws Exception {
        ExecutorService delegate =
            new ThreadPoolExecutor(0, Integer.MAX_VALUE, 60, SECONDS, new SynchronousQueue<>()) {
              @Override
              public void close() {
                throw new AssertionError(
                    "ForwardingExecutorService should have used the default method"
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

            new CacheLoader<String, String>() {
              @Override
              public String load(String key) throws InterruptedException {
                int behavior = random.nextInt(4);
                if (behavior == 0) { // throw an exception
                  exceptionCount.incrementAndGet();
                  throw new RuntimeException("fake exception for test");
                } else if (behavior == 1) { // return null
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

            new CacheLoader<String, String>() {
              @Override
              public String load(String key) throws InterruptedException {
                int behavior = random.nextInt(4);
                if (behavior == 0) { // throw an exception
                  exceptionCount.incrementAndGet();
                  throw new RuntimeException("fake exception for test");
                } else if (behavior == 1) { // return null
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

    import org.opensearch.script.ScriptType;
    
    public class UpdateLabelJobTest extends UnitFessTestCase {
    
        private UpdateLabelJob updateLabelJob;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            updateLabelJob = new UpdateLabelJob();
    
            // Setup mock components
            setupMockComponents();
        }
    
        private void setupMockComponents() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

        return this;
      }
    
      /**
       * Specifies the expected number of nodes in the graph.
       *
       * @throws IllegalArgumentException if {@code expectedNodeCount} is negative
       */
      @CanIgnoreReturnValue
      public ValueGraphBuilder<N, V> expectedNodeCount(int expectedNodeCount) {
        this.expectedNodeCount = checkNonNegative(expectedNodeCount);
        return this;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/BiMap.java

       *
       * <p><b>Warning:</b> the results of calling this method may vary depending on the iteration order
       * of {@code map}.
       *
       * @throws IllegalArgumentException if an attempt to {@code put} any entry fails. Note that some
       *     map entries may have been added to the bimap before the exception was thrown.
       */
      @Override
      void putAll(Map<? extends K, ? extends V> map);
    
      // Views
    
      /**
       * {@inheritDoc}
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       *
       * If [Call.cancel] is called while this is blocking, this call will immediately throw.
       *
       * @throws IllegalStateException if the response is closed.
       * @throws IOException if the trailers cannot be loaded, such as if the network connection is
       *     dropped.
       */
      @Throws(IOException::class)
      fun trailers(): Headers = trailersSource.get()
    
      /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 14:39:28 GMT 2025
    - 18.1K bytes
    - Click Count (0)
Back to Top