Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 174 for getCause (0.09 sec)

  1. 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)
  2. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

            new RemovalListener<Integer, Integer>() {
              @Override
              public void onRemoval(RemovalNotification<Integer, Integer> notification) {
                switch (notification.getCause()) {
                  case EXPIRED:
                    stats[0]++;
                    break;
                  case EXPLICIT:
                    stats[1]++;
                    break;
                  case REPLACED:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

            } catch (RuntimeException e) {
                // Unwrap IOException from RuntimeException
                if (e.getCause() instanceof IOException) {
                    throw (IOException) e.getCause();
                }
                throw new IOException("Connection failed", e);
            } catch (Exception e) {
                // Handle any other exceptions from circuit breaker
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                    if (e.getMessage().indexOf("bomb") >= 0) {
                        throw new ExtractException("Zip bomb detected.", e);
                    }
                    final Throwable cause = e.getCause();
                    if (cause instanceof SAXException) {
                        final Extractor xmlExtractor = crawlerContainer.getComponent("xmlExtractor");
                        if (xmlExtractor != null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  9. 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)
  10. android/guava/src/com/google/common/io/CharSource.java

          // The lines should be ordered regardless in most cases, but use forEachOrdered to be sure
          lines.forEachOrdered(action);
        } catch (UncheckedIOException e) {
          throw e.getCause();
        }
      }
    
      /**
       * Returns whether the source has zero chars. The default implementation first checks {@link
       * #lengthIfKnown}, returning true if it's known to be zero and false if it's known to be
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
Back to top