- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 405 for excepciones (0.32 seconds)
-
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) -
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) -
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) -
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 responseCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 18.4K bytes - Click Count (0) -
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) -
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
* <p> * The class under test is a simple wrapper around the base class that * sets internal fields in its constructor. * These tests verify that the constructor accepts various parameters * without throwing exceptions. */ @ExtendWith(MockitoExtension.class) class MsrpcSamrConnect2Test { // Helper method to create a minimal SamrPolicyHandle instance. private static SamrPolicyHandle createMockPolicyHandle() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java
projectExecutionListener.afterProjectExecutionFailure( new ProjectExecutionEvent(session, currentProject, t)); // rethrow original errors and runtime exceptions if (t instanceof RuntimeException runtimeException) { throw runtimeException; } if (t instanceof Error error) { throw error; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 20:01:00 GMT 2025 - 5.5K bytes - Click Count (0) -
fastapi/responses.py
from typing import Any from fastapi.exceptions import FastAPIDeprecationWarning from fastapi.sse import EventSourceResponse as EventSourceResponse # noqa from starlette.responses import FileResponse as FileResponse # noqa from starlette.responses import HTMLResponse as HTMLResponse # noqa from starlette.responses import JSONResponse as JSONResponse # noqa from starlette.responses import PlainTextResponse as PlainTextResponse # noqa
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 09:21:52 GMT 2026 - 3.6K bytes - Click Count (0) -
docs_src/security/tutorial004_an_py310.py
from typing import Annotated import jwt from fastapi import Depends, FastAPI, HTTPException, status from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm from jwt.exceptions import InvalidTokenError from pwdlib import PasswordHash from pydantic import BaseModel # 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 - 4.2K bytes - Click Count (0) -
cmd/api-utils.go
return false } switch c { case '-', '_', '.', '/', '*': return false } return true } // s3URLEncode is based on Golang's url.QueryEscape() code, // while considering some S3 exceptions: // - Avoid encoding '/' and '*' // - Force encoding of '~' func s3URLEncode(s string) string { spaceCount, hexCount := 0, 0 for i := range len(s) { c := s[i] if shouldEscape(c) { if c == ' ' {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 2.8K bytes - Click Count (0)