Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 2,175 for catch (0.04 sec)

  1. src/main/java/org/codelibs/core/sql/ResultSetUtil.java

         *            結果セット
         */
        public static void close(final ResultSet resultSet) {
            if (resultSet == null) {
                return;
            }
            try {
                resultSet.close();
            } catch (final SQLException e) {
                logger.log(format("ECL0017", e.getMessage()), e);
            }
        }
    
        /**
         * 結果セットを次に進めます。
         *
         * @param resultSet
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. buildscripts/multipart-quorum-test.sh

    	exit 1
    fi
    
    trap 'catch $LINENO' ERR
    
    function purge() {
    	rm -rf "$1"
    }
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	pkill minio || true
    	pkill -9 minio || true
    	purge "$WORK_DIR"
    	if [ $# -ne 0 ]; then
    		exit $#
    	fi
    }
    
    catch
    
    function start_minio_10drive() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 10:51:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractor.java

                                buf.append('\n');
                            } catch (final Exception e) {
                                if (logger.isDebugEnabled()) {
                                    logger.debug("Exception in an internal extractor.", e);
                                }
                            }
                        }
                    }
                }
            } catch (final MaxLengthExceededException e) {
                throw e;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java

                InputSource source = new InputSource(input.toString());
                return new Settings(new SettingsStaxReader().read(in, isStrict(options), source));
            } catch (XMLStreamException e) {
                throw new SettingsParseException(
                        e.getMessage(),
                        e.getLocation().getLineNumber(),
                        e.getLocation().getColumnNumber(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

                        messages.addErrorsFailedToStartJob(GLOBAL, entity.getName());
                    });
                }
                try {
                    entity.start();
                } catch (final Exception e) {
                    throwValidationErrorApi(messages -> {
                        messages.addErrorsFailedToStartJob(GLOBAL, entity.getName());
                    });
                }
            }).orElse(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/AbstractCrawlerClientTest.java

            try {
                client.checkMaxContentLength(responseData);
                fail();
            } catch (MaxLengthExceededException e) {
                // ok
            }
    
            responseData.setContentLength(1000000000L);
            try {
                client.checkMaxContentLength(responseData);
                fail();
            } catch (MaxLengthExceededException e) {
                // ok
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                // clear url filter
                urlFilterService.delete(sid);
            } catch (final Exception e) {
                logger.warn("Failed to delete UrlFilter for {}", sid, e);
            }
    
            try {
                // clear queue
                urlQueueService.clearCache();
                urlQueueService.delete(sid);
            } catch (final Exception e) {
                logger.warn("Failed to delete UrlQueue for {}", sid, e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

                    renderData.register(data);
                });
            } catch (final InvalidQueryException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Invalid query: {}", form.q, e);
                }
                throwValidationError(e.getMessageCode(), this::asListHtml);
            } catch (final ResultOffsetExceededException e) {
                if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

                }
                analyzerMap.put(analyzerSettingsIndexName, getAnalyzerNames());
                fieldAnalyzerMappingMap.put(analyzerSettingsIndexName, getFieldAnalyzerMapping());
            } catch (final IOException e) {
                throw new SuggestSettingsException("Failed to create mappings.");
            }
        }
    
        public String getAnalyzerSettingsIndexName() {
            return analyzerSettingsIndexName;
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. 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);
            }
        }
    
        /**
         * {@link InputStream}からbyteの配列を取得します。
         * <p>
         * 入力ストリームはクローズされません。
         * </p>
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top