Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 176 for getCauses (0.06 sec)

  1. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      private Object invokeGeneratorMethod(Method generator, Object... args) {
        try {
          return generator.invoke(this, args);
        } catch (InvocationTargetException e) {
          throwIfUnchecked(e.getCause());
          throw new RuntimeException(e.getCause());
        } catch (Exception e) {
          throwIfUnchecked(e);
          throw new RuntimeException(e);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  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);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top