Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 336 for excepciones (0.05 sec)

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

            // Configure transport to throw exception on release
            Mockito.doThrow(new RuntimeException("Test exception")).when(mockTransport).release();
    
            session.acquire();
    
            // Should handle exceptions gracefully
            assertDoesNotThrow(() -> session.release());
        }
    
        /**
         * Test AutoCloseable pattern
         */
        @Test
        @Timeout(5)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ExecutionError.java

     * possibly run in another thread. That cause should itself be an {@code Error}; if not, use {@code
     * ExecutionException} or {@link UncheckedExecutionException}. This allows the client code to
     * continue to distinguish between exceptions and errors, even when they come from other threads.
     *
     * @author Chris Povirk
     * @since 10.0
     */
    @GwtCompatible
    public class ExecutionError extends Error {
      /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. tests/test_dependency_yield_scope_websockets.py

    from contextvars import ContextVar
    from typing import Annotated, Any
    
    import pytest
    from fastapi import Depends, FastAPI, WebSocket
    from fastapi.exceptions import FastAPIError
    from fastapi.testclient import TestClient
    
    global_context: ContextVar[dict[str, Any]] = ContextVar("global_context", default={})  # noqa: B039
    
    
    class Session:
        def __init__(self) -> None:
            self.open = True
    
    
    async def dep_session() -> Any:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

                                // as it would pull in dependency on:
                                // - maven-plugin-api (for model)
                                // - Plexus Container (for model supporting classes and exceptions)
                                XmlNode root = XmlService.read(is, null);
                                String groupId = mayGetChild(root, "groupId");
                                String artifactId = mayGetChild(root, "artifactId");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheStats.java

      }
    
      /**
       * Returns the total number of times that {@link Cache} lookup methods attempted to load new
       * values. This includes both successful load operations and those that threw exceptions. This is
       * defined as {@code loadSuccessCount + loadExceptionCount}.
       *
       * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/CacheStats.java

      }
    
      /**
       * Returns the total number of times that {@link Cache} lookup methods attempted to load new
       * values. This includes both successful load operations and those that threw exceptions. This is
       * defined as {@code loadSuccessCount + loadExceptionCount}.
       *
       * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. apache-maven/src/main/appended-resources/licenses/EPL-2.0.txt

    documentation source, and configuration files.
    
    "Secondary License" means either the GNU General Public License,
    Version 2.0, or any later versions of that license, including any
    exceptions or additional permissions as identified by the initial
    Contributor.
    
    2. GRANT OF RIGHTS
    
      a) Subject to the terms of this Agreement, each Contributor hereby
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Jun 04 06:45:16 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. tests/test_jsonable_encoder.py

    from pathlib import PurePath, PurePosixPath, PureWindowsPath
    from typing import Optional, TypedDict
    
    import pytest
    from fastapi._compat import Undefined
    from fastapi.encoders import jsonable_encoder
    from fastapi.exceptions import PydanticV1NotSupportedError
    from pydantic import BaseModel, Field, ValidationError
    
    
    class Person:
        def __init__(self, name: str):
            self.name = name
    
    
    class Pet:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java

     * be used.
     * <p>
     * This interface provides methods for logging messages at different severity levels
     * and supports logging with or without associated exceptions.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface Logger {
    
        /**
         * Represents the severity levels for log messages.
         */
        enum Level {
            DEBUG,
            INFO,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. tests/test_dependency_yield_scope.py

    import json
    from typing import Annotated, Any
    
    import pytest
    from fastapi import APIRouter, Depends, FastAPI, HTTPException
    from fastapi.exceptions import FastAPIError
    from fastapi.responses import StreamingResponse
    from fastapi.testclient import TestClient
    
    
    class Session:
        def __init__(self) -> None:
            self.open = True
    
    
    def dep_session() -> Any:
        s = Session()
        yield s
        s.open = False
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top