Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 1,812 for rethrow (0.03 sec)

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

        resetMap(createArrayWithNullValue());
      }
    
      /**
       * Equivalent to {@link #expectMissingKeys(Object[]) expectMissingKeys} {@code (null)} except that
       * the call to {@code contains(null)} is permitted to throw a {@code NullPointerException}.
       *
       * @param message message to use upon assertion failure
       */
      protected void expectNullKeyMissingWhenNullKeysUnsupported(String message) {
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

            }
    
            final ClassLoader systemClassLoader = ClassLoader.getSystemClassLoader();
            if (systemClassLoader != null) {
                return systemClassLoader;
            }
    
            throw new ClIllegalStateException(MessageFormatter.getMessage("ECL0001", "ClassLoader"));
        }
    
        /**
         * Returns <code>true</code> if the class loader <code>other</code> is an ancestor of the class loader <code>cl</code>.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/PluginHelper.java

            if (StringUtil.isBlank(url)) {
                throw new PluginException("url is blank: " + artifact.getName());
            }
            if (url.startsWith("http:") || url.startsWith("https:")) {
                try (final CurlResponse response = createCurlRequest(url).execute()) {
                    if (response.getHttpStatusCode() != 200) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/FilenameExtractor.java

            if (in == null) {
                throw new CrawlerSystemException("The inputstream is null.");
            }
            final String content = params.getOrDefault(ExtractData.RESOURCE_NAME_KEY, StringUtil.EMPTY);
            try {
                return new ExtractData(content);
            } catch (final Exception e) {
                throw new ExtractException(e);
            }
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MsVisioExtractor.java

            if (in == null) {
                throw new CrawlerSystemException("The inputstream is null.");
            }
            try {
                @SuppressWarnings("resource")
                final VisioTextExtractor visioTextExtractor = new VisioTextExtractor(in);
                return new ExtractData(visioTextExtractor.getText());
            } catch (final IOException e) {
                throw new ExtractException(e);
            }
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

                final long now = SystemUtil.currentTimeMillis();
                if (now - previousTime < interval) {
                    throw new IllegalStateException();
                }
                previousTime = now;
    
                count++;
                if (count <= exceptionCount) {
                    throw new CrawlerSystemException("exception " + count);
                }
    
                final ResponseData responseData = new ResponseData();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            SocketInputStream sis = new SocketInputStream(in);
    
            // Try to skip more than available
            // Skip uses read internally, which may throw IOException when it tries to read the next header
            try {
                long skipped = sis.skip(10);
                // If it doesn't throw, it should only skip what's available
                assertEquals(3, skipped);
            } catch (IOException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt

        return certificates.single() as X509Certificate
      } catch (nsee: NoSuchElementException) {
        throw IllegalArgumentException("failed to decode certificate", nsee)
      } catch (iae: IllegalArgumentException) {
        throw IllegalArgumentException("failed to decode certificate", iae)
      } catch (e: GeneralSecurityException) {
        throw IllegalArgumentException("failed to decode certificate", e)
      }
    }
    
    /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

        for (String propertyName : new String[] {"value", "absent"}) {
          Method method = null;
          try {
            method = annotationClass.getMethod(propertyName);
          } catch (NoSuchMethodException e) {
            throw new AssertionError("Annotation is missing required method", e);
          }
          Class<?> returnType = method.getReturnType();
          assertTrue(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

        this.iterator = iterator;
      }
    
      @Override
      public Iterator<E> iterator() {
        if (iterator == null) {
          // TODO: throw something else? Do we worry that people's code and tests
          // might be relying on this particular type of exception?
          throw new IllegalStateException();
        }
        try {
          return iterator;
        } finally {
          iterator = null;
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top