Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,808 for Try (0.02 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        // Basic generate tests that work without component dependencies
        public void test_generate_outputFile_exists() throws Exception {
            final File outputFile = File.createTempFile("command_generator", ".out");
            try {
                assertTrue(outputFile.exists());
                generator.setCommandList(Collections.singletonList("invalid_command_for_test"));
                assertTrue(generator.generate("test_id", outputFile));
            } finally {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

        }
    
        @Override
        public synchronized void insert(final SynonymItem item) {
            try (SynonymUpdater updater = new SynonymUpdater(item)) {
                reload(updater);
            }
        }
    
        @Override
        public synchronized void update(final SynonymItem item) {
            try (SynonymUpdater updater = new SynonymUpdater(item)) {
                reload(updater);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java

            }
        }
    
        // Helper method to get TimeZoneProvider from DBFluteSystem using reflection
        private DfFinalTimeZoneProvider getDBFluteSystemTimeZoneProvider() {
            try {
                // Try to access the field, handling potential security restrictions
                Field field = DBFluteSystem.class.getDeclaredField("finalTimeZoneProvider");
                field.setAccessible(true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

        public void test_rethrowWithWrapping() {
            // Test rethrowing with wrapping
            String originalMessage = "Original theme error";
            String wrapperMessage = "Failed to process theme";
    
            try {
                try {
                    throw new ThemeException(originalMessage);
                } catch (ThemeException e) {
                    throw new ThemeException(wrapperMessage, e);
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/timer/TimeoutManager.java

                    executorService.shutdownNow();
                }
            }
        }
    
        private void processTask(final ExecutorService executorService, final TimeoutTask task) {
            try {
                executorService.execute(() -> {
                    try {
                        task.expired();
                    } catch (final Exception e) {
                        if (e instanceof InterruptedException) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                    // sleep for 10ms just in case this is windows holding a file lock
                    try {
                        Thread.sleep(10);
                    } catch (InterruptedException e) {
                        // ignore
                    }
                    metadataFile.delete(); // if this fails, forget about it, we'll try to overwrite it anyway so no need
                    // to delete on exit
                }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

            TrustedListenableFutureTask.create(
                new Callable<Integer>() {
                  @Override
                  public Integer call() throws Exception {
                    enterLatch.countDown();
                    try {
                      new CountDownLatch(1).await(); // wait forever
                      throw new AssertionError();
                    } catch (InterruptedException e) {
                      interruptedExceptionThrown.set(true);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/CharSource.java

       * it does.
       *
       * <p>The caller is responsible for ensuring that the returned stream is closed. For example:
       *
       * {@snippet :
       * try (Stream<String> lines = source.lines()) {
       *   lines.map(...)
       *      .filter(...)
       *      .forEach(...);
       * }
       * }
       *
       * @throws IOException if an I/O error occurs while opening the stream
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/CharSource.java

       * it does.
       *
       * <p>The caller is responsible for ensuring that the returned stream is closed. For example:
       *
       * {@snippet :
       * try (Stream<String> lines = source.lines()) {
       *   lines.map(...)
       *      .filter(...)
       *      .forEach(...);
       * }
       * }
       *
       * @throws IOException if an I/O error occurs while opening the stream
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  10. docs/smb3-features/03-multi-channel-design.md

            
            return score;
        }
        
        private boolean checkRSSCapability() {
            // Platform-specific RSS detection
            // Simplified implementation
            try {
                NetworkInterface ni = NetworkInterface.getByInetAddress(address);
                return ni != null && ni.supportsMulticast();
            } catch (Exception e) {
                return false;
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
Back to top