Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1271 - 1280 of 2,828 for exception (0.33 seconds)

  1. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            assertTrue(req instanceof ServerMessageBlock2);
        }
    
        @Test
        @DisplayName("Should set notify flags correctly")
        void testSetNotifyFlags() throws Exception {
            // Given
            int flags = Smb2ChangeNotifyRequest.SMB2_WATCH_TREE;
    
            // When
            request.setNotifyFlags(flags);
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java

        @Test
        public void test_init() {
            DocumentHelper documentHelper = new DocumentHelper();
    
            try {
                documentHelper.init();
            } catch (Exception e) {
                fail("init() should not throw an exception: " + e.getMessage());
            }
        }
    
        @Test
        public void test_getTitle() {
            DocumentHelper documentHelper = new DocumentHelper();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                assertEquals(1, entry.idx);
                assertNotNull(entry.name);
                assertNull(entry.name.buffer);
            }
    
            @Test
            @DisplayName("Should throw exception for invalid conformance")
            void testDecodeInvalidConformance() throws NdrException {
                // Given: Mocked buffer data with invalid conformance
                samr.SamrSamEntry entry = new samr.SamrSamEntry();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  4. docs_src/dependencies/tutorial008c_an_py310.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI, HTTPException
    
    app = FastAPI()
    
    
    class InternalError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("Oops, we didn't raise again, Britney 😱")
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
        if item_id == "portal-gun":
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 700 bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

                } else {
                    lastModified = System.currentTimeMillis();
                }
    
            } catch (final Exception e) {
                throw new IllegalArgumentException("failed to build synonyms", e);
            }
        }
    
        private Reader getReader(final boolean reload) throws IOException {
            if (reload) {
                if (reloadableFile == null) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun May 18 02:59:16 GMT 2025
    - 6.7K bytes
    - Click Count (1)
  6. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.entity.ResultData;
    import org.codelibs.fess.crawler.exception.ChildUrlsException;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    import org.codelibs.fess.crawler.extractor.Extractor;
    import org.codelibs.fess.crawler.extractor.impl.TikaExtractor;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:27:04 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/app/service/CrawlingInfoServiceTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.service;
    
    import java.io.StringReader;
    
    import org.codelibs.fess.app.pager.CrawlingInfoPager;
    import org.codelibs.fess.exception.FessSystemException;
    import org.codelibs.fess.opensearch.config.exentity.CrawlingInfo;
    import org.codelibs.fess.opensearch.config.exentity.CrawlingInfoParam;
    import org.codelibs.fess.unit.UnitFessTestCase;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelParseException.java

     */
    package org.apache.maven.model.io;
    
    import java.io.IOException;
    
    /**
     * Signals a failure to parse the POM due to invalid syntax (e.g. non well-formed XML or unknown elements).
     *
     * @deprecated use {@code org.apache.maven.api.services.xml.ModelXmlFactory} instead
     */
    @Deprecated(since = "4.0.0")
    public class ModelParseException extends IOException {
    
        /**
         * The one-based index of the line containing the error.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsParseException.java

     */
    package org.apache.maven.settings.io;
    
    import java.io.IOException;
    
    /**
     * Signals a failure to parse the settings due to invalid syntax (e.g. non well-formed XML or unknown elements).
     *
     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.xml.SettingsXmlFactory} instead
     */
    @Deprecated(since = "4.0.0")
    public class SettingsParseException extends IOException {
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

    import org.codelibs.core.timer.TimeoutManager;
    import org.codelibs.core.timer.TimeoutTask;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.crawler.client.FesenClient;
    import org.codelibs.fess.exception.ContainerNotAvailableException;
    import org.codelibs.fess.opensearch.client.SearchEngineClient;
    import org.codelibs.fess.timer.LogNotificationTarget;
    import org.codelibs.fess.timer.SystemMonitorTarget;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.4K bytes
    - Click Count (0)
Back to Top