Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 2,652 for throw (0.06 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java

                file.deleteOnExit();
                FileUtil.writeBytes(file.getAbsolutePath(), content.getBytes());
                return file;
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        private File createScriptTempFileStdout(final int sleep) {
            String extention;
            String content;
            if (File.separator.equals("/")) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/MoreFiles.java

       *
       * @throws NoSuchFileException if the file does not exist <i>(optional specific exception)</i>
       * @throws NotDirectoryException if the file could not be opened because it is not a directory
       *     <i>(optional specific exception)</i>
       * @throws IOException if an I/O error occurs
       */
      public static ImmutableList<Path> listFiles(Path dir) throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/MoreFiles.java

       *
       * @throws NoSuchFileException if the file does not exist <i>(optional specific exception)</i>
       * @throws NotDirectoryException if the file could not be opened because it is not a directory
       *     <i>(optional specific exception)</i>
       * @throws IOException if an I/O error occurs
       */
      public static ImmutableList<Path> listFiles(Path dir) throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

            if (StringUtil.isBlank(key) || StringUtil.isBlank(value)) {
                throw new CrawlerSystemException("key or value is null.");
            }
    
            featureMap.put(key, value);
        }
    
        public void addProperty(final String key, final String value) {
            if (StringUtil.isBlank(key) || StringUtil.isBlank(value)) {
                throw new CrawlerSystemException("key or value is null.");
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java

        }
    
        private void validateParameters() {
            if (min < 0) {
                throw new IllegalArgumentException("The min parameter cannot be negative.");
            }
            if (max < 0) {
                throw new IllegalArgumentException("The max parameter cannot be negative.");
            }
            if (max < min) {
                throw new IllegalArgumentException("The length cannot be negative.");
            }
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                if (e.status() == RestStatus.CONFLICT) {
                    throw new CrawlingAccessException("[" + e.status() + "] Failed to insert " + id, e);
                }
                throw new OpenSearchAccessException("[" + e.status() + "] Failed to insert " + id, e);
            } catch (final Exception e) {
                throw new OpenSearchAccessException("Failed to insert " + id, e);
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

            } catch (final CrawlerSystemException e) {
                closeResources(httpRequest, responseData);
                throw e;
            } catch (final Exception e) {
                closeResources(httpRequest, responseData);
                throw new CrawlerSystemException("Failed to access " + url, e);
            } finally {
                EntityUtils.consumeQuietly(httpEntity);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/xml/SAXParserFactoryUtil.java

            } catch (SAXNotRecognizedException | SAXNotSupportedException e) {
                throw new SAXRuntimeException(e);
            } catch (final ParserConfigurationException e) {
                throw new ParserConfigurationRuntimeException(e);
            }
            return factory;
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

            "Map.merge(absent, value, function) should return value",
            v3(),
            getMap()
                .merge(
                    k3(),
                    v3(),
                    (oldV, newV) -> {
                      throw new AssertionFailedError(
                          "Should not call merge function if key was absent");
                    }));
        expectAdded(e3());
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/SingleValueIterator.java

            return hasNext;
        }
    
        @Override
        public E next() {
            if (!hasNext) {
                throw new NoSuchElementException();
            }
            hasNext = false;
            return value;
        }
    
        @Override
        public void remove() {
            throw new ClUnsupportedOperationException("remove");
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top