Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,287 for scratch (0.03 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

                    }
                    return Channels.newInputStream(blobObj.reader());
                } catch (final IOException e) {
                    throw e;
                } catch (final Exception e) {
                    throw new IOException("Failed to access " + url, e);
                }
            }
    
            /**
             * Gets the Blob object from GCS.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java

                    }
    
                    s3Client = builder.build();
                    connected = true;
                } catch (final Exception e) {
                    throw new IOException("Failed to create S3Client.", e);
                }
            }
    
            /**
             * Gets an input stream to read from the S3 object.
             *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java

                });
                return null;
            });
            try {
                badWordService.store(entity);
                suggestHelper.addBadWord(entity.getSuggestWord(), false);
            } catch (final Exception e) {
                logger.warn("Failed to process a request.", e);
                throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)));
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/Lmhosts.java

                    }
                    result = (NbtAddress) TAB.get(name);
                }
            } catch (final FileNotFoundException fnfe) {
                if (LogStream.level > 1) {
                    log.println("lmhosts file: " + FILENAME);
                    fnfe.printStackTrace(log);
                }
            } catch (final IOException ioe) {
                if (LogStream.level > 0) {
                    ioe.printStackTrace(log);
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/InputStreamUtil.java

         */
        public static FileInputStream create(final File file) {
            assertArgumentNotNull("file", file);
    
            try {
                return new FileInputStream(file);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Gets a byte array from an {@link InputStream}.
         * <p>
         * The input stream is not closed.
         * </p>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/zip/ZipInputStreamUtil.java

         */
        public static ZipEntry getNextEntry(final ZipInputStream zis) {
            assertArgumentNotNull("zis", zis);
    
            try {
                return zis.getNextEntry();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * A method that wraps the exception handling of {@link ZipInputStream#reset()}.
         *
         * @param zis
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Internal.java

      @IgnoreJRERequirement
      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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/zip/ZipFileUtil.java

         */
        public static ZipFile create(final String file) {
            assertArgumentNotEmpty("file", file);
    
            try {
                return new ZipFile(file);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Creates and returns a <code>ZipFile</code> for reading the specified file.
         *
         * @param file
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                    tikaExtractor.setSpaceChars(getSpaceChars());
                }
            } catch (final ComponentNotFoundException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("tikaExtractor is not found: {}", e.getMessage().replace('\n', ' '));
                }
            } catch (final Exception e) {
                logger.warn("Failed to initialize TikaExtractor.", e);
            }
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/MultiChannelManager.java

                    try {
                        return ni.isLoopback() || !ni.isUp() || ni.isVirtual();
                    } catch (Exception e) {
                        return true;
                    }
                });
                return interfaces;
            } catch (Exception e) {
                log.warn("Failed to get network interfaces: {}", e.getMessage());
                return Collections.emptyList();
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top