Search Options

Results per page
Sort
Preferred Languages
Advance

Results 671 - 680 of 1,230 for match1 (0.04 sec)

  1. src/main/java/org/codelibs/core/io/OutputStreamUtil.java

         */
        public static FileOutputStream create(final File file) {
            assertArgumentNotNull("file", file);
    
            try {
                return new FileOutputStream(file);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Flushes the {@link OutputStream}.
         *
         * @param out the output stream
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            chain.updateThrowsException = true;
            User user = createTestUser("testuser", "Test User");
    
            try {
                chain.update(user);
                fail("Expected exception to be thrown");
            } catch (RuntimeException e) {
                assertEquals("Update failed", e.getMessage());
            }
    
            assertEquals(1, chain.updateCalls.size());
        }
    
        // Test basic delete operation
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                                }
                            });
                } catch (final RuntimeException e) {
                    try {
                        requestManager.findLoginManager(FessUserBean.class).ifPresent(LoginManager::logout);
                    } catch (final Exception e1) {
                        // ignore
                    }
                    throw e;
                }
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            // Decode
            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
            // Verify - the decode method strips null termination, so filename should match
            assertEquals(expectedFilename, fileBothDirectoryInfo.getFilename());
        }
    
        @Test
        @DisplayName("Test decode with null-terminated non-Unicode filename")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/PythonJob.java

                    throw new JobProcessingException(out.toString());
                }
                ComponentUtil.getPopularWordHelper().clearCache();
            } catch (final JobProcessingException e) {
                throw e;
            } catch (final Exception e) {
                throw new JobProcessingException("Python Process terminated.", e);
            } finally {
                processHelper.destroyProcess(sessionId);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

            }
    
            @Test
            @DisplayName("Should work in catch blocks for IOException")
            void testCatchAsIOException() {
                assertDoesNotThrow(() -> {
                    try {
                        throw new TransportException("Test exception");
                    } catch (IOException e) {
                        // Should catch TransportException as IOException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

                    tempBuf.append(Arrays.toString((double[]) value));
                } else {
                    tempBuf.append('"').append(StringEscapeUtils.escapeJson(value.toString())).append('"');
                }
            } catch (final Exception e) {
                tempBuf.append("null");
            }
            buf.append(tempBuf.toString());
            return buf;
        }
    
        /**
         * Appends a timestamp to the buffer.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

            try {
                createResp = th.send(create);
            } catch (final SmbException e) {
                final Smb2CreateResponse cr = create.getResponse();
                if (cr != null && cr.isReceived() && cr.getStatus() == NtStatus.NT_STATUS_SUCCESS) {
                    try {
                        th.send(new Smb2CloseRequest(th.getConfig(), cr.getFileId()));
                    } catch (final SmbException e2) {
                        e.addSuppressed(e2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/GcFinalization.java

        do {
          System.runFinalization();
          if (latch.getCount() == 0) {
            return;
          }
          System.gc();
          try {
            if (latch.await(1L, SECONDS)) {
              return;
            }
          } catch (InterruptedException ie) {
            throw new RuntimeException("Unexpected interrupt while waiting for latch", ie);
          }
        } while (System.nanoTime() - deadline < 0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/PathValidatorTest.java

                validator.validatePath("\\share\\con");
                fail("Should block lowercase reserved name");
            } catch (SmbException e) {
                // Expected
            }
    
            try {
                validator.validatePath("\\share\\Con");
                fail("Should block mixed case reserved name");
            } catch (SmbException e) {
                // Expected
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
Back to top