- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 2,367 for Exceptions (0.08 seconds)
-
docs/zh/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 ExceptionCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 11.3K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/ListenerCallQueue.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java
} @Test void testChannelSelection() { try { channelManager.selectChannel(mockMessage); fail("Should throw exception when no channels available"); } catch (Exception e) { // Expected - no channels available assertTrue(e instanceof ChannelLoadBalancer.NoAvailableChannelException); } } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
@Test void testFailureWithNoAlternativeChannels() throws Exception { failedChannel.addPendingOperation(mockOperation); when(mockLoadBalancer.selectChannel(mockOperation)).thenThrow(new ChannelLoadBalancer.NoAvailableChannelException("No channels")); IOException error = new IOException("Connection failed"); // Should not throw exception even if no alternative channelsCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.7K bytes - Click Count (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt
} while (!buffer.exhausted()) { val exception = buffer.readUtf8LineStrict() assertThat(publicSuffixDatabase.getEffectiveTldPlusOne(exception)).isEqualTo( exception, ) val test = "foobar.$exception" assertThat(publicSuffixDatabase.getEffectiveTldPlusOne(test)).isEqualTo(exception) } } @Test fun threadIsInterruptedOnFirstRead() {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue May 27 22:00:49 GMT 2025 - 8.5K bytes - Click Count (0) -
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
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Jun 04 06:45:16 GMT 2024 - 13.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
RuntimeException exception = new RuntimeException(); T proxy = Reflection.newProxy( interfaceType, new AbstractInvocationHandler() { @Override protected Object handleInvocation(Object p, Method m, @Nullable Object[] args) throws Throwable { throw exception; } });
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/LogStreamTest.java
resetLogStreamInstance(); } @AfterEach void tearDown() throws Exception { // Restore original state System.setErr(originalErr); LogStream.level = originalLevel; // Reset instance using reflection resetLogStreamInstance(); } private void resetLogStreamInstance() throws Exception { // Use reflection to reset the static instance field to null
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.3K bytes - Click Count (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
void testExceptionHierarchy() { // When RuntimeCIFSException exception = new RuntimeCIFSException("Test"); // Then assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } @Test @DisplayName("Should support exception chaining")
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.2K bytes - Click Count (0) -
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:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 9.2K bytes - Click Count (0)