- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 2,367 for Exceptions (0.26 seconds)
-
android/guava/src/com/google/common/util/concurrent/Futures.java
* @param exceptionType the exception type that triggers use of {@code fallback}. The exception * type is matched against the input's exception. "The input's exception" means the cause of * the {@link ExecutionException} thrown by {@code input.get()} or, if {@code get()} throws a * different kind of exception, that exception itself. To avoid hiding bugs and otherCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 64.3K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
} /** * Closes the stream and deletes the temporary file if it was not retrieved. * If an error occurs during file deletion, it is logged but not thrown to avoid * masking exceptions from the main operation. * * @throws IOException if an I/O error occurs during stream closure */ @Override public void close() throws IOException { try { super.close();Created: Sat Dec 20 09:13:53 GMT 2025 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/SmbSessionTest.java
@DisplayName("Should handle close with exception gracefully") void shouldHandleCloseExceptionGracefully() throws Exception { SmbSession mockSession = mock(SmbSession.class); Exception testException = new Exception("Test close exception"); doThrow(testException).when(mockSession).close();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) -
guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java
PLATFORM { @GwtIncompatible @J2ktIncompatible @Override // returns the types available in "normal" environments ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() { return ImmutableMap.of( InvocationTargetException.class, e -> e instanceof InvocationTargetException, StackOverflowError.class,Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverResult.java
DownloadedArtifact getArtifact(); /** * Returns a mapping of repositories to the exceptions encountered while resolving the artifact. * * @return A {@link Map} where keys are {@link Repository} instances and values are {@link Exception} instances. */ Map<Repository, List<Exception>> getExceptions(); /** * Returns the repository from which the artifact was resolved.
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) -
docs/de/docs/tutorial/handling-errors.md
Sie können benutzerdefinierte <abbr title="Ausnahmebehandler: Funktion, die sich um die Bearbeitung einer Exception kümmert">Exceptionhandler</abbr> mit <a href="https://www.starlette.dev/exceptions/" class="external-link" target="_blank">den gleichen Exception-Werkzeugen von Starlette</a> hinzufügen.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 10.4K bytes - Click Count (0) -
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) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
If you want to catch exceptions and create a custom response based on that, create a [Custom Exception Handler](../handling-errors.md#install-custom-exception-handlers){.internal-link target=_blank}. ## Dependencies with `yield` and `except` { #dependencies-with-yield-and-except }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 12.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java
* Verify that all methods can be called with null buffers without * throwing exceptions. This test ensures robustness of the implementation. */ @Test void methodsHandleNullBuffersGracefully() { // Arrange TransWaitNamedPipeResponse resp = new TransWaitNamedPipeResponse(); // Act & Assert - no exceptions should be thrown assertDoesNotThrow(() -> resp.writeSetupWireFormat(null, 0));Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.4K bytes - Click Count (0) -
tests/test_tutorial/test_response_model/test_tutorial003_04.py
import importlib import pytest from fastapi.exceptions import FastAPIError from ...utils import needs_py310 @pytest.mark.parametrize( "module_name", [ pytest.param("tutorial003_04_py39"), pytest.param("tutorial003_04_py310", marks=needs_py310), ], ) def test_invalid_response_model(module_name: str) -> None: with pytest.raises(FastAPIError):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 453 bytes - Click Count (0)