Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1281 - 1290 of 2,175 for catch (0.04 sec)

  1. android/guava/src/com/google/common/collect/Streams.java

        // first as suppressed exceptions. We don't catch Error on the grounds that it should be allowed
        // to propagate immediately.
        Exception exception = null;
        for (BaseStream<?, ?> stream : toClose) {
          try {
            stream.close();
          } catch (Exception e) { // sneaky checked exception
            if (exception == null) {
              exception = e;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

        if (address.hostnameVerifier !== OkHostnameVerifier) return false
        if (!supportsUrl(address.url)) return false
    
        // 4. Certificate pinning must match the host.
        try {
          address.certificatePinner!!.check(address.url.host, handshake()!!.peerCertificates)
        } catch (_: SSLPeerUnverifiedException) {
          return false
        }
    
        return true // The caller's address can be carried by this connection.
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/xml/DomUtil.java

            if (encoding == null) {
                return new ByteArrayInputStream(contents.getBytes());
            }
            try {
                return new ByteArrayInputStream(contents.getBytes(encoding));
            } catch (final UnsupportedEncodingException ex) {
                throw new IORuntimeException(ex);
            }
        }
    
        /**
         * 属性の値をエンコードします。
         *
         * @param s
         *            属性値
         * @return エンコードされた属性値
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java

            accessResultDataImpl.setTransformerName("transformer");
    
            try {
                final Object obj = xmlTransformer.getData(accessResultDataImpl);
                fail();
            } catch (final CrawlerSystemException e) {}
        }
    
        public void test_getData_nullData() throws Exception {
            final String value = "<?xml version=\"1.0\"?>\n"//
                    + "<doc>\n"//
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/RegularImmutableMap.java

          ImmutableMap<K, V> empty = (ImmutableMap<K, V>) EMPTY;
          return empty;
        }
        try {
          return fromEntryArrayCheckingBucketOverflow(n, entryArray, throwIfDuplicateKeys);
        } catch (BucketOverflowException e) {
          // probable hash flooding attack, fall back to j.u.HM based implementation and use its
          // implementation of hash flooding protection
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            final String value = getSystemProperty(key);
            if (value != null) {
                try {
                    return Integer.parseInt(value);
                } catch (final NumberFormatException e) {
                    // ignore
                }
            }
            return defaultValue;
        }
    
        default void setSystemPropertyAsInt(final String key, final int value) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

                    Arguments.of(true, new String[] {"--force-interactive", "--non-interactive", "--batch-mode"}, false),
                    Arguments.of(false, new String[] {"--non-interactive"}, true),
                    Arguments.of(false, new String[] {"--batch-mode"}, true),
                    Arguments.of(false, new String[] {"--non-interactive", "--batch-mode"}, true));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/Futures.java

              return;
            }
          }
          final V value;
          try {
            value = getDone(future);
          } catch (ExecutionException e) {
            callback.onFailure(e.getCause());
            return;
          } catch (Throwable e) {
            // Any Exception is either a RuntimeException or sneaky checked exception.
            callback.onFailure(e);
            return;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  10. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top