Search Options

Results per page
Sort
Preferred Languages
Advance

Results 891 - 900 of 2,324 for exception (0.71 sec)

  1. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

          throws IOException {
        if (singleByte) {
          for (int i = off; i < off + len; i++) {
            out.write(b[i]);
          }
        } else {
          out.write(b, off, len);
        }
        out.flush(); // for coverage
      }
    
      // TODO(chrisn): only works if we ensure we have crossed file threshold
    
      public void testWriteErrorAfterClose() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

            assertEquals(2, chars.length);
            assertEquals(32, chars[0]);
            assertEquals(12288, chars[1]);
        }
    
        public void test_getCrawlerDocumentHtmlPrunedTagsAsArray() throws Exception {
            FessProp.propMap.clear();
            FessConfig fessConfig = new FessConfig.SimpleImpl() {
                @Override
                public String getCrawlerDocumentHtmlPrunedTags() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

                // For now, just return the file object
                return file;
            } catch (Exception e) {
                log.warn("Failed to create SmbFile for {}: {}", filePath, e.getMessage());
                throw new IOException("Failed to create SmbFile: " + e.getMessage(), e);
            }
        }
    
        /**
         * Get the CIFS context
         *
         * @return CIFS context
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            // Should not throw exception
            lenientService.updatePreauthHash("non-existent", "test".getBytes());
    
            // With enforcement enabled, should throw exception
            assertThrows(CIFSException.class, () -> {
                preauthService.updatePreauthHash("non-existent", "test".getBytes());
            });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

        @Mock
        private CIFSContext mockContext;
    
        @Mock
        private Configuration mockConfig;
    
        private MockWitnessService mockService;
    
        @BeforeEach
        void setUp() throws Exception {
            mockService = new MockWitnessService();
            mockService.start();
    
            // Setup mock configuration with lenient stubbing
            lenient().when(mockContext.getConfig()).thenReturn(mockConfig);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.suggest.exception.SuggestSettingsException;
    import org.codelibs.fess.suggest.exception.SuggesterException;
    import org.opensearch.action.get.GetResponse;
    import org.opensearch.common.collect.Tuple;
    import org.opensearch.common.xcontent.XContentType;
    import org.opensearch.common.xcontent.json.JsonXContent;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbTreeTest.java

        }
    
        /**
         * Test for close() method throwing exception.
         * Verifies behavior when close throws an exception.
         */
        @Test
        void testClose_throwsException() {
            doThrow(new RuntimeException("Failed to close")).when(smbTree).close();
    
            assertThrows(RuntimeException.class, () -> smbTree.close(), "Should propagate exception when close fails");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

    import java.util.jar.JarFile;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.exception.ClassNotFoundRuntimeException;
    import org.codelibs.core.exception.NoSuchFieldRuntimeException;
    import org.codelibs.core.lang.ClassUtil;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.7K bytes
    - Viewed (1)
  9. src/test/java/org/codelibs/core/lang/ClassLoaderIteratorTest.java

    import java.net.URL;
    import java.net.URLClassLoader;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class ClassLoaderIteratorTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final ClassLoader cl1 = new URLClassLoader(new URL[] { new URL("file:/foo") }, null);
            final ClassLoader cl2 = new URLClassLoader(new URL[] { new URL("file:/bar") }, cl1);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/MsWordExtractorTest.java

    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.io.CloseableUtil;
    import org.codelibs.core.io.ResourceUtil;
    import org.codelibs.fess.crawler.container.StandardCrawlerContainer;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * @author shinsuke
     *
     */
    public class MsWordExtractorTest extends PlainTestCase {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top