Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1221 - 1230 of 2,828 for exception (0.06 seconds)

  1. src/main/java/org/codelibs/core/zip/ZipFileUtil.java

            return FileUtil.getCanonicalPath(zipFile);
        }
    
        /**
         * Closes the Zip file.
         * <p>
         * If {@link ZipFile#close()} throws an exception, an error message is logged. The exception is not rethrown.
         * </p>
         *
         * @param zipFile
         *            Zip file. Must not be {@literal null}.
         */
        public static void close(final ZipFile zipFile) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create echo request with correct command")
            void testConstructor() throws Exception {
                Smb2EchoRequest request = new Smb2EchoRequest(mockConfig);
                assertNotNull(request);
    
                // Verify command is set to SMB2_ECHO (0x000D)
                assertEquals(0x000D, request.getCommand());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/service/FailureUrlService.java

         * @param errorName the name/type of the error that occurred
         * @param url the URL that failed to be crawled
         * @param e the exception that caused the failure
         * @return the stored or updated FailureUrl entity, or null if the exception should be ignored
         */
        public FailureUrl store(final CrawlingConfig crawlingConfig, final String errorName, final String url, final Throwable e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. fastapi/encoders.py

                f" Please update the model {obj!r}."
            )
        try:
            data = dict(obj)
        except Exception as e:
            errors: list[Exception] = []
            errors.append(e)
            try:
                data = vars(obj)
            except Exception as e:
                errors.append(e)
                raise ValueError(errors) from e
        return jsonable_encoder(
            data,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/SymbolicLinkPreservingTar.java

                        details.copyTo(tar);
                        tar.closeArchiveEntry();
                    } catch (final IOException e) {
                        handleProcessingException(details, e);
                    }
                }
    
                private void handleProcessingException(final FileCopyDetailsInternal details, final IOException e) {
                    throw new GradleException("could not add [" + details + "] to tar file [" + tarFile + "]", e);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 8.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

                assertEquals("xyz", getIdMethod.invoke(crawlingConfigHelper, "Dxyz"));
            } catch (Exception e) {
                fail("Failed to test getId method: " + e.getMessage());
            }
        }
    
        @Test
        public void test_getCrawlingConfig_cacheExceptionHandling() {
            // Register a service that throws exception
            ComponentUtil.register(new WebConfigService() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 35.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/SmbWatchHandleTest.java

            verify(watchHandle, times(1)).call();
        }
    
        /**
         * Test call() method as Callable in executor service
         */
        @Test
        void testCallAsCallable() throws Exception {
            // Create a real implementation for testing Callable behavior
            SmbWatchHandle realHandle = new SmbWatchHandle() {
                private int callCount = 0;
    
                @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (1)
  8. tests/test_empty_router.py

            assert response.status_code == 200, response.text
            assert response.json() == ["OK"]
    
    
    def test_include_empty():
        # if both include and router.path are empty - it should raise exception
        with pytest.raises(FastAPIError):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Jun 11 22:37:34 GMT 2023
    - 805 bytes
    - Click Count (1)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4HttpClient.java

    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.entity.RobotsTxt;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    import org.codelibs.fess.crawler.exception.MaxLengthExceededException;
    import org.codelibs.fess.crawler.helper.ContentLengthHelper;
    import org.codelibs.fess.crawler.helper.MimeTypeHelper;
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 54.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

    package org.codelibs.fess.mylasta.direction;
    
    import java.util.Map;
    import java.util.Properties;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.TestInfo;
    import org.lastaflute.core.direction.exception.ConfigPropertyNotFoundException;
    
    /**
     * Test for FessEnv
     * Note: Many tests are currently disabled due to ObjectiveConfig initialization issues
     * that require a full LastaFlute context
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
Back to Top