Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getCause (0.19 sec)

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

          getDone(future);
          fail();
        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
    
        try {
          getDoneFromTimeoutOverload(future);
          fail();
        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
      }
    
      public void testImmediateFailedFuture_cancellationException() throws Exception {
    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

          getDone(future);
          fail();
        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
    
        try {
          getDoneFromTimeoutOverload(future);
          fail();
        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
      }
    
      public void testImmediateFailedFuture_cancellationException() throws Exception {
    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. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        RemovalNotification<K, V> notification = listener.remove();
        assertSame(key, notification.getKey());
        assertSame(value, notification.getValue());
        assertSame(cause, notification.getCause());
      }
    
      // Segment core tests
    
      public void testNewEntry() {
        for (CacheBuilder<Object, Object> builder : allEntryTypeMakers()) {
          LocalCache<Object, Object> map = makeLocalCache(builder);
    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)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        RemovalNotification<K, V> notification = listener.remove();
        assertSame(key, notification.getKey());
        assertSame(value, notification.getValue());
        assertSame(cause, notification.getCause());
      }
    
      // Segment core tests
    
      public void testNewEntry() {
        for (CacheBuilder<Object, Object> builder : allEntryTypeMakers()) {
          LocalCache<Object, Object> map = makeLocalCache(builder);
    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)
  5. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    synchronized class ExceptionUtils { static final String WRAPPED_MARKER = [wrapped] ; protected static String[] CAUSE_METHOD_NAMES; protected void ExceptionUtils(); public static void addCauseMethodName(String); public static Throwable getCause(Throwable); public static Throwable getCause(Throwable, String[]); public static Throwable getRootCause(Throwable); private static Throwable getCauseUsingWellKno(Throwable); private static Throwable getCauseUsingMethodN(Throwable, String); private static Throwable get...
    Archive
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 164.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LocalCache.java

              }
            }
    
            // at this point e is either null or expired;
            return lockedGetOrLoad(key, hash, loader);
          } catch (ExecutionException ee) {
            Throwable cause = ee.getCause();
            if (cause instanceof Error) {
              throw new ExecutionError((Error) cause);
            } else if (cause instanceof RuntimeException) {
              throw new UncheckedExecutionException(cause);
            }
    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/src/com/google/common/cache/LocalCache.java

              }
            }
    
            // at this point e is either null or expired;
            return lockedGetOrLoad(key, hash, loader);
          } catch (ExecutionException ee) {
            Throwable cause = ee.getCause();
            if (cause instanceof Error) {
              throw new ExecutionError((Error) cause);
            } else if (cause instanceof RuntimeException) {
              throw new UncheckedExecutionException(cause);
            }
    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)
Back to top