Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 162 for getCauses (0.15 sec)

  1. 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);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    throw new IllegalStateException("Unable to lookup " + RepositorySystem.class.getName());
                } catch (org.eclipse.aether.resolution.ArtifactResolutionException e) {
                    if (e.getCause() instanceof org.eclipse.aether.transfer.ArtifactNotFoundException) {
                        throw new ArtifactNotFoundException(e.getMessage(), artifact, remoteRepositories, e);
                    } else {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 25K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/Types.java

          } else {
            try {
              return typeVariableMethod.invoke(typeVariableImpl, args);
            } catch (InvocationTargetException e) {
              throw e.getCause();
            }
          }
        }
      }
    
      private static final class TypeVariableImpl<D extends GenericDeclaration> {
    
        private final D genericDeclaration;
        private final String name;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                fail("Should throw FessSystemException");
            } catch (FessSystemException e) {
                assertEquals("No crawling session.", e.getMessage());
                assertTrue(e.getCause() instanceof RuntimeException);
            }
        }
    
        public void test_updateParams() {
            final String sessionId = "update-session";
            final CrawlingInfo existingInfo = new CrawlingInfo();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          throw new AssertionError(impossible);
        } catch (InvocationTargetException e) {
          logger.log(Level.WARNING, "Exception while invoking default constructor.", e.getCause());
          return arbitraryConstantInstanceOrNull(type);
        }
      }
    
      private static <T> @Nullable T arbitraryConstantInstanceOrNull(Class<T> type) {
        Field[] fields = type.getDeclaredFields();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        }
    
        @Override
        public V getUnchecked(K key) {
          try {
            return get(key);
          } catch (ExecutionException e) {
            throw new UncheckedExecutionException(e.getCause());
          }
        }
    
        @Override
        public final V apply(K key) {
          return getUnchecked(key);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

                .removalListener(listener)
                .ticker(ticker)
                .build();
        cache.put(1, 1);
        ticker.advance(10, MINUTES);
        cache.invalidateAll();
    
        assertThat(listener.poll().getCause()).isEqualTo(RemovalCause.EXPIRED);
      }
    
      private void runRemovalScheduler(
          LoadingCache<String, Integer> cache,
          CountingRemovalListener<String, Integer> removalListener,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Types.java

          } else {
            try {
              return typeVariableMethod.invoke(typeVariableImpl, args);
            } catch (InvocationTargetException e) {
              throw e.getCause();
            }
          }
        }
      }
    
      private static final class TypeVariableImpl<D extends GenericDeclaration> {
    
        private final D genericDeclaration;
        private final String name;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          throw new AssertionError(impossible);
        } catch (InvocationTargetException e) {
          logger.log(Level.WARNING, "Exception while invoking default constructor.", e.getCause());
          return arbitraryConstantInstanceOrNull(type);
        }
      }
    
      private static <T> @Nullable T arbitraryConstantInstanceOrNull(Class<T> type) {
        Field[] fields = type.getDeclaredFields();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                                return this.type;
                            }
                        }
                    } catch (final CIFSException e) {
                        if (!(e.getCause() instanceof UnknownHostException)) {
                            throw e;
                        }
                        log.debug("Unknown host", e);
                    }
                    this.type = SmbConstants.TYPE_SERVER;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
Back to top