Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for catch (0.37 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

              } catch (CancellationException e) {
                assertTrue(merger == Merger.allMerger);
                inputs.assertHasImmediateCancel(iFuture, jFuture, e);
              } catch (ExecutionException e) {
                assertTrue(merger == Merger.allMerger);
                inputs.assertHasImmediateFailure(iFuture, jFuture, e);
              } catch (TimeoutException e) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

              } catch (CancellationException e) {
                assertTrue(merger == Merger.allMerger);
                inputs.assertHasImmediateCancel(iFuture, jFuture, e);
              } catch (ExecutionException e) {
                assertTrue(merger == Merger.allMerger);
                inputs.assertHasImmediateFailure(iFuture, jFuture, e);
              } catch (TimeoutException e) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
        void connect0() throws SmbException {
            try {
                connect();
            } catch( UnknownHostException uhe ) {
                throw new SmbException( "Failed to connect to server", uhe );
            } catch( SmbException se ) {
                throw se;
            } catch( IOException ioe ) {
                throw new SmbException( "Failed to connect to server", ioe );
            }
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  4. okhttp/src/test/java/okhttp3/CallTest.kt

      @Test
      fun cancelImmediatelyAfterEnqueue() {
        server.enqueue(MockResponse())
        val latch = CountDownLatch(1)
        client =
          client.newBuilder()
            .addNetworkInterceptor(
              Interceptor { chain: Interceptor.Chain ->
                try {
                  latch.await()
                } catch (e: InterruptedException) {
                  throw AssertionError(e)
                }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

          result = map;
          success = true;
        } catch (UnsupportedLoadingOperationException e) {
          success = true;
          throw e;
        } catch (InterruptedException e) {
          Thread.currentThread().interrupt();
          throw new ExecutionException(e);
        } catch (RuntimeException e) {
          throw new UncheckedExecutionException(e);
        } catch (Exception e) {
          throw new ExecutionException(e);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LocalCache.java

          result = map;
          success = true;
        } catch (UnsupportedLoadingOperationException e) {
          success = true;
          throw e;
        } catch (InterruptedException e) {
          Thread.currentThread().interrupt();
          throw new ExecutionException(e);
        } catch (RuntimeException e) {
          throw new UncheckedExecutionException(e);
        } catch (Exception e) {
          throw new ExecutionException(e);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          @Override
          public void run() {
            try {
              map.get(one, loader);
            } catch (ExecutionException e) {
              throw new RuntimeException(e);
            }
            doneSignal.countDown();
          }
        }.start();
    
        try {
          computingSignal.await();
        } catch (InterruptedException e) {
          throw new RuntimeException(e);
        }
    
        new Thread() {
          @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          @Override
          public void run() {
            try {
              map.get(one, loader);
            } catch (ExecutionException e) {
              throw new RuntimeException(e);
            }
            doneSignal.countDown();
          }
        }.start();
    
        try {
          computingSignal.await();
        } catch (InterruptedException e) {
          throw new RuntimeException(e);
        }
    
        new Thread() {
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Maps.java

            return super.removeAll(checkNotNull(c));
          } catch (UnsupportedOperationException e) {
            // if the iterators don't support remove
            return Sets.removeAllImpl(this, c.iterator());
          }
        }
    
        @Override
        public boolean retainAll(Collection<?> c) {
          try {
            return super.retainAll(checkNotNull(c));
          } catch (UnsupportedOperationException e) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

                token,
            )
        }
        add(FirErrors.CATCH_PARAMETER_WITH_DEFAULT_VALUE) { firDiagnostic ->
            CatchParameterWithDefaultValueImpl(
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.REIFIED_TYPE_IN_CATCH_CLAUSE) { firDiagnostic ->
            ReifiedTypeInCatchClauseImpl(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K bytes
    - Viewed (0)
Back to top