Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for excepciones (0.06 sec)

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

            assertTrue(endLatch.await(30, TimeUnit.SECONDS), "All threads should complete within timeout");
            executor.shutdown();
    
            // Then - Verify no exceptions occurred
            if (!exceptions.isEmpty()) {
                fail("Concurrent operations caused exceptions: " + exceptions.get(0));
            }
    
            assertEquals(threadCount * opsPerThread, successCount.get(), "All operations should succeed");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            System.out.printf("  Avg tree operation time: %.2f ns%n", avgOpTimeNs);
    
            // Verify thread safety and performance
            assertTrue(exceptions.isEmpty(), "No exceptions should occur with thread-safe collections: " + exceptions);
            assertEquals(threadCount * operationsPerThread, treeOperations.get());
            assertTrue(avgOpTimeNs < 100000, "Tree operations should be reasonable with CopyOnWriteArrayList");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

                            successCount.incrementAndGet();
                        }
                    } catch (Exception e) {
                        synchronized (exceptions) {
                            exceptions.add(e);
                        }
                    } finally {
                        endLatch.countDown();
                    }
                });
            }
    
            // Start all threads
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    You saw that you can use dependencies with `yield` and have `try` blocks that catch exceptions.
    
    The same way, you could raise an `HTTPException` or similar in the exit code, after the `yield`.
    
    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/handling-errors.md

    You can override these exception handlers with your own.
    
    ### Override request validation exceptions { #override-request-validation-exceptions }
    
    When a request contains invalid data, **FastAPI** internally raises a `RequestValidationError`.
    
    And it also includes a default exception handler for it.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt

        ).containsExactly(
          "--> GET http://google.com/robots.txt",
          "<-- HTTP FAILED: java.net.UnknownHostException: shortcircuit. ${request.url} (ms)",
        )
        // We should consider if these logs should retain Exceptions
        assertThat(logs.last().throwable).isNull()
      }
    
      @Test
      fun testLoggingEventListener() {
        val client = clientBuilder.eventListenerFactory(LoggingEventListener.Factory()).build()
    
        try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    They can declare request requirements (like headers) or other sub-dependencies:
    
    {* ../../docs_src/dependencies/tutorial006_an_py39.py hl[8,13] *}
    
    ### Raise exceptions { #raise-exceptions }
    
    These dependencies can `raise` exceptions, the same as normal dependencies:
    
    {* ../../docs_src/dependencies/tutorial006_an_py39.py hl[10,15] *}
    
    ### Return values { #return-values }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. README.md

    ### Exception Handling
    ```java
    import org.codelibs.core.exception.*;
    
    // Runtime exception wrappers eliminate try-catch boilerplate
    try {
        // Code that might throw checked exceptions
        return ClassUtil.newInstance(className); // Wraps checked exceptions automatically
    } catch (ClassNotFoundRuntimeException e) {
        // Handle the wrapped exception
        logger.error("Class not found: " + className, e);
    }
    ```
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:03:02 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

            assertNull(queryParseException.getCause());
            // getMessage() may return null when constructed with null
            // This is expected behavior for exceptions with null cause
        }
    
        public void test_nestedCause() {
            // Test with nested exceptions
            RuntimeException rootCause = new RuntimeException("Root cause");
            ParseException parseException = new ParseException("Parse error");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top