Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 353 for excepciones (0.04 seconds)

  1. android/guava/src/com/google/common/graph/ArchetypeGraph.java

       * {@code view} returned by this method will be invalidated, and will throw {@code
       * IllegalStateException} if it is accessed in any way, with the following exceptions:
       *
       * <ul>
       *   <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals(...)}
       *       expression involving {@code view} will throw)
       *   <li>{@code hashCode()} does not throw
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Nov 11 17:11:16 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  2. docs_src/handling_errors/tutorial005_py39.py

    from fastapi import FastAPI, Request
    from fastapi.encoders import jsonable_encoder
    from fastapi.exceptions import RequestValidationError
    from fastapi.responses import JSONResponse
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    @app.exception_handler(RequestValidationError)
    async def validation_exception_handler(request: Request, exc: RequestValidationError):
        return JSONResponse(
            status_code=422,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 626 bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/util/WebApiUtil.java

     * error handling, and validation in web API context.
     */
    public final class WebApiUtil {
    
        /**
         * Request attribute key for storing web API exceptions.
         */
        private static final String WEB_API_EXCEPTION = "webApiException";
    
        /**
         * Private constructor to prevent instantiation.
         */
        private WebApiUtil() {
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/SmbSessionTest.java

                doNothing().when(mockSession).close();
    
                assertDoesNotThrow(() -> {
                    mockSession.close();
                    mockSession.close();
                }, "Multiple close() calls should not throw exceptions");
    
                verify(mockSession, times(2)).close();
            }
    
            @Test
            @DisplayName("Should handle close with exception gracefully")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/Network.java

       * {@code view} returned by this method will be invalidated, and will throw {@code
       * IllegalStateException} if it is accessed in any way, with the following exceptions:
       *
       * <ul>
       *   <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()}
       *       expression involving {@code view} will throw)
       *   <li>{@code hashCode()} does not throw
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 17.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/Futures.java

      /**
       * Returns the result of {@link Future#get()}, converting most exceptions to a new instance of the
       * given checked exception type. This reduces boilerplate for a common use of {@code Future} in
       * which it is unnecessary to programmatically distinguish between exception types or to extract
       * other information from the exception instance.
       *
       * <p>Exceptions from {@code Future.get} are treated as follows:
       *
       * <ul>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 64.3K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverResult.java

    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * Represents the result of resolving an artifact.
     * <p>
     * This interface provides access to resolved artifacts, their associated paths, and any related exceptions that
     * occurred during the resolution process.
     * </p>
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ArtifactResolverResult extends Result<ArtifactResolverRequest> {
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/DocGenerationException.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.docs;
    
    import org.gradle.internal.exceptions.Contextual;
    
    @Contextual
    public class DocGenerationException extends RuntimeException {
        public DocGenerationException(String message) {
            super(message);
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 968 bytes
    - Click Count (0)
  9. docs_src/custom_request_and_route/tutorial002_an_py310.py

    from collections.abc import Callable
    from typing import Annotated
    
    from fastapi import Body, FastAPI, HTTPException, Request, Response
    from fastapi.exceptions import RequestValidationError
    from fastapi.routing import APIRoute
    
    
    class ValidationErrorLoggingRoute(APIRoute):
        def get_route_handler(self) -> Callable:
            original_route_handler = super().get_route_handler()
    
            async def custom_route_handler(request: Request) -> Response:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 974 bytes
    - Click Count (0)
  10. tests/test_empty_router.py

    import pytest
    from fastapi import APIRouter, FastAPI
    from fastapi.exceptions import FastAPIError
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    router = APIRouter()
    
    
    @router.get("")
    def get_empty():
        return ["OK"]
    
    
    app.include_router(router, prefix="/prefix")
    
    
    client = TestClient(app)
    
    
    def test_use_empty():
        with client:
            response = client.get("/prefix")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Jun 11 22:37:34 GMT 2023
    - 805 bytes
    - Click Count (1)
Back to Top