Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 2,867 for exception (0.06 sec)

  1. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                assertNull(unwrapped);
            }
        }
    
        @Nested
        @DisplayName("Exception handling tests")
        class ExceptionHandlingTests {
    
            @Test
            @DisplayName("doEnum rethrows CIFSException when not UnknownHostException")
            void doEnum_rethrowsCIFSException_whenNotUnknownHost() throws Exception {
                // Arrange
                SmbFile parent = mock(SmbFile.class, RETURNS_DEEP_STUBS);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exception/ScheduledJobException.java

     */
    package org.codelibs.fess.exception;
    
    /**
     * This exception is thrown when a scheduled job fails.
     */
    public class ScheduledJobException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructor.
         * @param message Exception message.
         * @param cause Root cause for this exception.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (1)
  3. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

            IOException error = new IOException("Test error");
    
            // Should not throw exception
            assertDoesNotThrow(() -> channelManager.handleChannelFailure(channel, error));
        }
    
        @Test
        void testEstablishReplacementChannel() {
            // Should not throw exception even when no interfaces are available
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractorTest.java

    package org.codelibs.fess.crawler.extractor.impl;
    
    import java.io.IOException;
    import java.io.InputStream;
    
    import org.apache.logging.log4j.LogManager;
    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;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            }
        }
    
        public void test_cleanup() throws Exception {
            final String sessionId = crawler.getSessionId();
    
            // Add some test data
            crawler.addUrl("http://example.com/");
    
            // Perform cleanup - should not throw exception
            crawler.cleanup(sessionId);
        }
    
        public void test_stop() throws Exception {
            final CrawlerWebServer server = new CrawlerWebServer(7070);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Nov 11 13:40:14 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparatorTest.java

                        }
                    } catch (Exception e) {
                        exception.set(e);
                    } finally {
                        latch.countDown();
                    }
                });
            }
    
            latch.await(30, TimeUnit.SECONDS);
            executor.shutdown();
    
            if (exception.get() != null) {
                throw exception.get();
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Aug 06 12:03:40 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

            assertThat(itr.next(), is("a"));
            assertThat(itr.hasNext(), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRemove() throws Exception {
            exception.expect(ClUnsupportedOperationException.class);
            exception.expectMessage(is("remove"));
            final Vector<String> vector = new Vector<String>();
            vector.add("a");
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/index/contents/querylog/QueryLogTest.java

        @Test
        public void test_constructor() throws Exception {
            QueryLog queryLog = new QueryLog("test query", "test filter");
    
            assertNotNull(queryLog);
            assertEquals("test query", queryLog.getQueryString());
            assertEquals("test filter", queryLog.getFilterQueryString());
        }
    
        @Test
        public void test_constructorWithNullFilter() throws Exception {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Nov 13 00:40:54 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            SMBProtocolDecodingException exception =
                    assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, bufferIndex),
                            "Should throw SMBProtocolDecodingException for invalid structure size");
    
            assertEquals("Expected structureSize = 9", exception.getMessage());
        }
    
        @ParameterizedTest
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

    import org.codelibs.fess.crawler.container.CrawlerContainer;
    import org.codelibs.fess.crawler.entity.ExtractData;
    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    import org.codelibs.fess.crawler.exception.ExtractException;
    import org.codelibs.fess.crawler.exception.MaxLengthExceededException;
    import org.codelibs.fess.crawler.helper.ContentLengthHelper;
    import org.codelibs.fess.crawler.helper.MimeTypeHelper;
    
    /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top