Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Error (0.01 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            CrawlerSystemException exception1 = new CrawlerSystemException(exceptionCause);
            assertSame(exceptionCause, exception1.getCause());
    
            // With Error cause
            Error errorCause = new Error("Error cause");
            CrawlerSystemException exception2 = new CrawlerSystemException(errorCause);
            assertSame(errorCause, exception2.getCause());
    
            // With RuntimeException cause
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java

        }
    
        /**
         * Processes system error log events.
         *
         * @param objs the log objects (should contain a Throwable)
         */
        protected void processSystemError(final Object... objs) {
            final Throwable t = (Throwable) objs[0];
            if (logger.isErrorEnabled()) {
                logger.error("System Error.", t);
            }
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

        }
    
        /**
         * Detects the MIME type of the content.
         *
         * @param out the deferred file output stream
         * @return the detected MIME type
         * @throws IOException if an I/O error occurs
         */
        protected String getMimeType(final DeferredFileOutputStream out) throws IOException {
            final MimeTypeHelper mimeTypeHelper = crawlerContainer.getComponent("mimeTypeHelper");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

             * @throws ErrorResponseException If the server returns an error
             * @throws IllegalArgumentException If the arguments are invalid
             * @throws InsufficientDataException If insufficient data is available
             * @throws InternalException If an internal error occurs
             * @throws InvalidResponseException If the response is invalid
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

        /**
         * Checks if a bucket exists in the object storage.
         * @param name the name of the bucket to check
         * @return true if the bucket exists, false otherwise
         * @throws CrawlingAccessException if an error occurs while checking bucket existence
         */
        protected boolean bucketExists(final String name) {
            try {
                final BucketExistsArgs args = BucketExistsArgs.builder().bucket(name).build();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17.9K bytes
    - Viewed (2)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

         */
        @PreDestroy
        public void destroy() {
            if (httpClient != null) {
                try {
                    httpClient.close();
                } catch (final IOException e) {
                    logger.error("Failed to close httpClient.", e);
                }
            }
        }
    
        /**
         * Extracts text from the input stream using the API endpoint.
         *
         * @param in the input stream to extract text from
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  7. README.md

            // Handle successful response
            response.getItems().forEach(item -> 
                System.out.println("Async suggestion: " + item.getText()[0])
            );
        })
        .error(throwable -> {
            // Handle error
            System.err.println("Error: " + throwable.getMessage());
        });
    ```
    
    ## Advanced Usage
    
    ### Index from Existing Documents
    
    ```java
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  8. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

         * @param item the SuggestItem containing the data to be indexed
         * @return a string representing the bulk line for OpenSearch indexing
         * @throws SuggesterException if an I/O error occurs during the creation of the bulk line
         */
        public static String createBulkLine(final String index, final String type, final SuggestItem item) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (1)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

         *
         * @param outputFile the converted output file
         * @param outExt the output file extension
         * @return the extracted text content
         * @throws ExtractException if an error occurs while reading the file
         */
        protected String getOutputContent(final File outputFile, final String outExt) {
            final Extractor extractor = getExtractor(outExt);
            if (extractor != null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

        }
    
        /**
         * Returns an input stream from a deferred file output stream.
         *
         * @param dfos A deferred file output stream.
         * @return An input stream.
         * @throws IOException if an I/O error occurs.
         */
        protected InputStream getContentStream(final DeferredFileOutputStream dfos) throws IOException {
            if (dfos.isInMemory()) {
                return new ByteArrayInputStream(dfos.getData());
            }
    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