Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 317 for excepciones (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * </ul>
     *
     * <p>Because of this situation, any public method accepting an iterable should invoke the {@code
     * iterator} method only once, and should be tested using this class. Exceptions to this rule should
     * be clearly documented.
     *
     * <p>Note that although your APIs should be liberal in what they accept, your methods which
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/net/UrlEscaperTesting.java

       */
      @SuppressWarnings("nullness") // test of a bogus call
      static void assertBasicUrlEscaperExceptPercent(UnicodeEscaper e) {
        // URL escapers should throw null pointer exceptions for null input
        try {
          e.escape((String) null);
          fail("Escaping null string should throw exception");
        } catch (NullPointerException x) {
          // pass
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

        void mockInteraction_stubsThrow_andVerifiesInvocation() {
            // Arrange: Since SmbUnsupportedOperationException is a checked exception (extends IOException),
            // we need to use a method that can throw checked exceptions or wrap it in a RuntimeException
            @SuppressWarnings("unchecked")
            Supplier<String> supplier = mock(Supplier.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  4. docs_src/security/tutorial005_an_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 Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 18:10:35 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/advanced-dependencies.md

    This was changed in version 0.110.0 to fix unhandled memory consumption from forwarded exceptions without a handler (internal server errors), and to make it consistent with the behavior of regular Python code.
    
    ### Background Tasks and Dependencies with `yield`, Technical Details { #background-tasks-and-dependencies-with-yield-technical-details }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A simplistic collection which implements only the bare minimum allowed by the spec, and throws
     * exceptions whenever it can.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public class MinimalCollection<E extends @Nullable Object> extends AbstractCollection<E> {
      // TODO: expose allow nulls parameter?
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/io/ByteSourceTest.java

      private static final ImmutableSet<ByteSink> BROKEN_SINKS =
          ImmutableSet.of(BROKEN_CLOSE_SINK, BROKEN_OPEN_SINK, BROKEN_WRITE_SINK);
    
      public void testCopyExceptions() {
        // test that exceptions are suppressed
    
        for (ByteSource in : BROKEN_SOURCES) {
          int suppressed = runSuppressionFailureTest(in, newNormalByteSink());
          assertEquals(0, suppressed);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            }
    
            @Test
            @DisplayName("Should handle null buffer in write operations")
            void testWriteOperationsWithNullBuffer() {
                // Write operations return 0 when given null buffer - no exceptions thrown
                assertEquals(0, response.writeSetupWireFormat(null, 0));
                assertEquals(0, response.writeParametersWireFormat(null, 0));
                assertEquals(0, response.writeDataWireFormat(null, 0));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  9. docs/uk/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
            handler -->> client: HTTP error response
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 18.4K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    你可以使用與平常相同的依賴函式。
    
    ### 依賴的需求 { #dependency-requirements }
    
    它們可以宣告請求需求(例如標頭(headers))或其他子依賴:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[8,13] *}
    
    ### 拋出例外 { #raise-exceptions }
    
    這些依賴可以 `raise` 例外,與一般依賴相同:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[10,15] *}
    
    ### 回傳值 { #return-values }
    
    它們可以回傳值,也可以不回傳;無論如何,回傳值都不會被使用。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.7K bytes
    - Click Count (0)
Back to Top