Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 2,367 for Exceptions (0.06 seconds)

  1. src/main/java/org/codelibs/fess/app/web/error/ErrorAction.java

    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.HtmlResponse;
    
    /**
     * Action class for handling general error pages.
     * This action displays error pages when unhandled exceptions occur
     * during search operations or page navigation.
     */
    public class ErrorAction extends FessSearchAction {
    
        /**
         * Default constructor for ErrorAction.
         */
        public ErrorAction() {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/SmbAuthException.java

    package jcifs.smb1.smb1;
    
    /**
     * The <code>SmbAuthException</code> encapsulates the variety of
     * authentication related error codes returned by an SMB server.
     * <p>
     * See <a href="../../../authhandler.html">jCIFS Exceptions and NtlmAuthenticator</a> for more information about <code>SmbAuthException</code>.
     */
    
    public class SmbAuthException extends SmbException {
    
        SmbAuthException(final int errcode) {
            super(errcode, null);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

          Blocker blocker = new Blocker(this);
          blocker.setOwner(Thread.currentThread());
          if (compareAndSet(currentRunner, blocker)) {
            // Thread.interrupt can throw arbitrary exceptions due to the nio InterruptibleChannel API
            // This will make sure that tasks don't get stuck busy waiting.
            // Some of this is fixed in jdk11 (see https://bugs.openjdk.org/browse/JDK-8198692) but
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 10K bytes
    - Click Count (0)
  4. src/test/java/jcifs/SmbResourceTest.java

            @DisplayName("close method should not declare exceptions")
            void testCloseMethodExceptions() throws NoSuchMethodException {
                // Given
                Method closeMethod = SmbResource.class.getMethod("close");
    
                // When
                Class<?>[] exceptions = closeMethod.getExceptionTypes();
    
                // Then
                assertEquals(0, exceptions.length, "close() should not declare any exceptions");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 35K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

            }
    
            @Test
            @DisplayName("should handle strategy exceptions gracefully")
            void shouldHandleStrategyExceptionsGracefully() throws Exception {
                UpgradeContext context = createMockContext();
                Map<Path, Document> pomMap = Map.of(Paths.get("pom.xml"), mock(Document.class));
    
                // Mock first strategy to throw exception
                when(mockStrategies.get(0).isApplicable(context)).thenReturn(true);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  6. tests/test_regex_deprecated_body.py

    from typing import Annotated
    
    import pytest
    from fastapi import FastAPI, Form
    from fastapi.exceptions import FastAPIDeprecationWarning
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    from .utils import needs_py310
    
    
    def get_client():
        app = FastAPI()
        with pytest.warns(FastAPIDeprecationWarning):
    
            @app.post("/items/")
            async def read_items(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_query_params_str_validations/test_tutorial004.py

                "tutorial004_regex_an_py310",
                marks=(
                    needs_py310,
                    pytest.mark.filterwarnings(
                        "ignore:`regex` has been deprecated, please use `pattern` instead:fastapi.exceptions.FastAPIDeprecationWarning"
                    ),
                ),
            ),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 12:45:20 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  8. tests/test_pydantic_v1_error.py

    import warnings
    from typing import Union
    
    import pytest
    
    from tests.utils import skip_module_if_py_gte_314
    
    if sys.version_info >= (3, 14):
        skip_module_if_py_gte_314()
    
    from fastapi import FastAPI
    from fastapi.exceptions import PydanticV1NotSupportedError
    
    with warnings.catch_warnings():
        warnings.simplefilter("ignore", UserWarning)
        from pydantic.v1 import BaseModel
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  9. tests/test_validate_response.py

    from typing import Optional, Union
    
    import pytest
    from fastapi import FastAPI
    from fastapi.exceptions import ResponseValidationError
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: Optional[float] = None
        owner_ids: Optional[list[int]] = None
    
    
    @app.get("/items/invalid", response_model=Item)
    def get_invalid():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                assertTrue(projectDirsWithUnitTests.contains(it), "Contains unit tests: $it")
            }
        }
    
        private fun containsSrcFileWithString(
            srcRoot: File,
            content: String,
            exceptions: List<String>,
        ): Boolean {
            srcRoot.walkTopDown().forEach { file ->
                if (file.extension == "groovy" || file.extension == "java") {
                    val originalText = file.readText()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 16 01:27:05 GMT 2025
    - 14.6K bytes
    - Click Count (0)
Back to Top