Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 1,808 for try (0.01 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

            validate(form, messages -> {}, () -> uploadpage(form.dictId));
            verifyToken(() -> uploadpage(form.dictId));
            return kuromojiService.getKuromojiFile(form.dictId).map(file -> {
                try (InputStream inputStream = form.kuromojiFile.getInputStream()) {
                    file.update(inputStream);
                } catch (final IOException e) {
                    logger.warn("Failed to process a request.", e);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

                    languageHelper.getReindexScriptSource());
        }
    
        public void test_init() {
            try {
                languageHelper.init();
                // Should not throw exception
            } catch (Exception e) {
                fail("init() should not throw an exception: " + e.getMessage());
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

         */
        protected void updateThumbnailField(final String thumbnailId, final String value) {
            // TODO bulk
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            try {
                ComponentUtil.getIndexingHelper()
                        .updateDocument(ComponentUtil.getSearchEngineClient(), thumbnailId, fessConfig.getIndexFieldThumbnail(), value);
            } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                        ArgumentCaptor.forClass(jcifs.internal.smb1.com.SmbComReadAndX.class);
    
                // Act: choose len so upper/lower 16-bit parts are exercised
                byte[] buf = new byte[0x30000];
                try {
                    in.readDirect(buf, 0, 0x12345);
                    fail("Expected IOException due to short-circuit");
                } catch (IOException expected) {
                    // expected
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

           * something. Try to treat it like a RuntimeException. If we overflow the stack again, the
           * resulting Error will propagate upward up to the root call to set().
           */
          setException(e);
          return;
        }
    
        T transformResult;
        try {
          transformResult = doTransform(localFunction, sourceResult);
        } catch (Throwable t) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

         */
        public void startWatching(String directoryPath, Smb2LeaseKey leaseKey) {
            if (activeWatchers.containsKey(directoryPath)) {
                return; // Already watching
            }
    
            try {
                SmbFile directory = new SmbFile(directoryPath, leaseManager.getContext());
                ChangeNotificationHandle handle = new ChangeNotificationHandle(directoryPath, leaseKey, directory);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

                try (final InputStream is = responseData.getResponseBody(); final OutputStream os = new FileOutputStream(file);) {
                    CopyUtil.copy(is, os);
                } catch (final IOException e) {
                    throw new CrawlerSystemException("Could not store " + file.getAbsolutePath(), e);
                }
            }
            try {
                resultData.setData(path.getBytes(charsetName));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/dataconfig/ApiAdminDataconfigAction.java

            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
            final DataConfig dataConfig = getDataConfig(body).map(entity -> {
                try {
                    dataConfigService.store(entity);
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

                @Override
                public void finalizeReferent() {
                  references.remove(this);
                  if (!serverSocket.isClosed()) {
                    try {
                      serverSocket.close();
                      finalizeReferentRan.set(true);
                    } catch (IOException e) {
                      throw new UncheckedIOException(e);
                    }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

                @Override
                public void finalizeReferent() {
                  references.remove(this);
                  if (!serverSocket.isClosed()) {
                    try {
                      serverSocket.close();
                      finalizeReferentRan.set(true);
                    } catch (IOException e) {
                      throw new UncheckedIOException(e);
                    }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.7K bytes
    - Viewed (0)
Back to top