Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,765 for throwIt (0.15 sec)

  1. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

      }
    
      public void testSubscriberThrowsExceptionHandlerThrowsException() throws Exception {
        EventBus eventBus =
            new EventBus(
                new SubscriberExceptionHandler() {
                  @Override
                  public void handleException(Throwable exception, SubscriberExceptionContext context) {
                    throw new RuntimeException();
                  }
                });
        Object subscriber =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

     * continues. See {@link QueueWorker#workOnQueue} for details.
     *
     * <p>{@code RuntimeException}s thrown by tasks are simply logged and the executor keeps trucking.
     * If an {@code Error} is thrown, the error will propagate and execution will stop until it is
     * restarted by a call to {@link #execute}.
     */
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                            @Override
                            public InputStream getContentAsStream() throws IOException {
                                return new FileInputStream(testFile);
                            }
    
                            @Override
                            public void close() throws IOException {
                                // Nothing to close
                            }
                        };
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

    public class ProcessHelperTest extends UnitFessTestCase {
    
        public ProcessHelper processHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            processHelper = new ProcessHelper();
        }
    
        @Override
        public void tearDown() throws Exception {
            // Clean up any running processes
            processHelper.destroy();
            super.tearDown();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

       * sees an Error?
       */
      @AndroidIncompatible
      public void testTaskThrowsError() throws Exception {
        class MyError extends Error {}
        CyclicBarrier barrier = new CyclicBarrier(2);
        // we need to make sure the error gets thrown on a different thread.
        ExecutorService service = newSingleThreadExecutor();
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ImmediateFuture.java

        return super.toString() + "[status=SUCCESS, result=[" + value + "]]";
      }
    
      static final class ImmediateFailedFuture<V extends @Nullable Object> extends TrustedFuture<V> {
        ImmediateFailedFuture(Throwable thrown) {
          setException(thrown);
        }
      }
    
      static final class ImmediateCancelledFuture<V extends @Nullable Object> extends TrustedFuture<V> {
        static final @Nullable ImmediateCancelledFuture<Object> INSTANCE =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt

            this.bytesReceived += byteCount
          } catch (e: IOException) {
            throw complete(e)!!
          }
        }
    
        @Throws(IOException::class)
        override fun flush() {
          try {
            super.flush()
          } catch (e: IOException) {
            throw complete(e)!!
          }
        }
    
        @Throws(IOException::class)
        override fun close() {
          if (closed) return
          closed = true
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Preconditions.java

       * instead. However, note that {@code checkIndex()} throws {@code IndexOutOfBoundsException} when
       * {@code size} is negative, while this method throws {@code IllegalArgumentException}.
       *
       * @param index a user-supplied index identifying a position in an array, list or string
       * @param size the size of that array, list or string
       * @return the value of {@code index}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 22:11:00 UTC 2025
    - 53K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       * throwing exceptions like {@link NoSuchElementException} at the appropriate times, it throws
       * {@link PermittedMetaException} instances, which wrap a set of all exceptions that the iterator
       * could throw during the invocation of that method. This is necessary because, e.g., a call to
       * {@code iterator().remove()} of an unmodifiable list could throw either {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

      }
    
      public void testBulkLoad_extra() throws ExecutionException {
        CacheLoader<Object, Object> loader =
            new CacheLoader<Object, Object>() {
              @Override
              public Object load(Object key) throws Exception {
                return new Object();
              }
    
              @Override
              public Map<Object, Object> loadAll(Iterable<?> keys) throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
Back to top