Search Options

Results per page
Sort
Preferred Languages
Advance

Results 911 - 920 of 2,175 for match (0.02 sec)

  1. android/guava/src/com/google/common/io/Closer.java

     *   // do stuff
     * } catch (Throwable e) {
     *   // ensure that any checked exception types other than IOException that could be thrown are
     *   // provided here, e.g. throw closer.rethrow(e, CheckedException.class);
     *   throw closer.rethrow(e);
     * } finally {
     *   closer.close();
     * }
     * }
     *
     * <p>Note that this try-catch-finally block is not equivalent to a try-catch-finally block using
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InetAddresses.java

            }
            return Inet6Address.getByAddress(
                v6Address.getHostAddress(), v6Address.getAddress(), asInterface);
          } catch (SocketException | UnknownHostException e) {
            throw new IllegalArgumentException("No such interface: " + scope, e);
          }
        } catch (UnknownHostException e) {
          throw new AssertionError(e);
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/Internal.java

       */
      static long toNanosSaturated(Duration duration) {
        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
        // durations longer than approximately +/- 292 years).
        try {
          return duration.toNanos();
        } catch (ArithmeticException tooBig) {
          return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE;
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/xml/DocumentBuilderUtil.java

            assertArgumentNotNull("builder", builder);
            assertArgumentNotNull("is", is);
    
            try {
                return builder.parse(is);
            } catch (final SAXException e) {
                throw new SAXRuntimeException(e);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            try {
                ftpInfo = new FtpClient.FtpInfo(null, Constants.UTF_8);
                fail();
            } catch (CrawlingAccessException e) {
                // ignore
            }
    
            try {
                ftpInfo = new FtpClient.FtpInfo("", Constants.UTF_8);
                fail();
            } catch (CrawlingAccessException e) {
                // ignore
            }
    
            try {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

                assertNotNull(result);
            } catch (Exception e) {
                assertTrue(true);
            }
        }
    
        public void test_createHighlightInfo() {
            ViewHelper viewHelper = new ViewHelper();
            viewHelper.init();
    
            try {
                assertNotNull(viewHelper.createHighlightInfo());
            } catch (Exception e) {
                assertTrue(true);
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

            try {
              testEqualsUsing(factory);
              return;
            } catch (ParameterNotInstantiableException e) {
              paramErrors.add(e);
            } catch (ParameterHasNoDistinctValueException e) {
              distinctValueErrors.add(e);
            } catch (InvocationTargetException e) {
              instantiationExceptions.add(e);
            } catch (FactoryMethodReturnsNullException e) {
              nullErrors.add(e);
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

                    try (InputStream is = getContentInputStream(out)) {
                        return extractor.getText(is, params);
                    }
                }
            } catch (final CrawlingAccessException e) {
                throw e;
            } catch (final Exception e) {
                throw new ExtractException("Failed to extract data.", e);
            } finally {
                if (dfos != null && !dfos.isInMemory()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            } catch (IllegalArgumentException e) {
                // Expected
                assertTrue(e.getMessage().contains("INVALID"));
            }
    
            try {
                CrawlerStatus.valueOf("initializing"); // lowercase
                fail("Should throw IllegalArgumentException for lowercase value");
            } catch (IllegalArgumentException e) {
                // Expected
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/SecureKeyManager.java

                    ((Destroyable) secretKey).destroy();
                } catch (DestroyFailedException e) {
                    log.warn("Failed to destroy SecretKey: {}", e.getMessage());
                }
            }
    
            // Remove from KeyStore
            if (keyStore != null) {
                try {
                    keyStore.deleteEntry("smb.session." + sessionId);
                } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
Back to top