Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 2,367 for Exceptions (0.08 seconds)

  1. src/main/java/jcifs/smb1/netbios/Lmhosts.java

        /**
         * This is really just for {@link jcifs.smb1.UniAddress}. It does
         * not throw an {@link java.net.UnknownHostException} because this
         * is queried frequently and exceptions would be rather costly to
         * throw on a regular basis here.
         *
         * @param host the hostname to resolve
         * @return the resolved NbtAddress or null if not found
         */
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/config/DelegatingConfigurationTest.java

        }
    
        @Test
        @DisplayName("Delegation should handle exceptions from delegate")
        void testExceptionHandling() {
            // Given
            RuntimeException testException = new RuntimeException("Test exception");
            when(mockDelegate.getResponseTimeout()).thenThrow(testException);
    
            // When & Then
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  3. 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
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6.7K bytes
    - Click Count (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");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  5. docs_src/security/tutorial005_py39.py

    import jwt
    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jwt.exceptions import InvalidTokenError
    from pwdlib import PasswordHash
    from pydantic import BaseModel, ValidationError
    
    # to get a string like this run:
    # openssl rand -hex 32
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 02:57:38 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

      @Param Result result;
      @Param ExceptionType exceptionType;
    
      /**
       * The number of other exception types in the cache of known-good exceptions and the number of
       * other {@code ClassValue} entries for the exception type to be tested. This lets us evaluate
       * whether our solution scales to use with multiple exception types and to whether it is affected
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  7. docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md

    participant client as Client
    participant handler as Exception handler
    participant dep as Dep with yield
    participant operation as Path Operation
    participant tasks as Background tasks
    
        Note over client,operation: Can raise exceptions, including HTTPException
        client ->> dep: Start request
        Note over dep: Run code up to yield
        opt raise Exception
            dep -->> handler: Raise Exception
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  8. docs_src/security/tutorial005_py310.py

    import jwt
    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jwt.exceptions import InvalidTokenError
    from pwdlib import PasswordHash
    from pydantic import BaseModel, ValidationError
    
    # to get a string like this run:
    # openssl rand -hex 32
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 02:57:38 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  9. docs/LICENSE

                a. reproduce and Share the Licensed Material, in whole or
                   in part; and
    
                b. produce, reproduce, and Share Adapted Material.
    
           2. Exceptions and Limitations. For the avoidance of doubt, where
              Exceptions and Limitations apply to Your use, this Public
              License does not apply, and You do not need to comply with
              its terms and conditions.
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon May 10 16:50:06 GMT 2021
    - 18.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

                if (logger.isDebugEnabled()) {
                    logger.debug("Script raised JobProcessingException", e);
                }
                throw e;
            } catch (final Exception e) {
                // Log and return null for other exceptions to maintain backward compatibility
                logger.warn("Failed to evaluate Groovy script: template={}, parameters={}", template, safeParamMap, e);
                return null;
            } finally {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.5K bytes
    - Click Count (0)
Back to Top