- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 2,450 for exceptions (0.61 sec)
-
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
verify(session, times(4)).close(); verify(transport, times(4)).close(); } @Test @DisplayName("isSMB2 true and exception fallback to false") void isSMB2Cases() throws Exception { // Happy path returns true; transport exception path returns false when(transport.isSMB2()).thenReturn(true); assertTrue(handle.isSMB2()); reset(transport);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
} @Test @DisplayName("Should throw exception on null buffer") void testDecodeWithNullBuffer() { assertThrows(SMBProtocolDecodingException.class, () -> testResponse.decode(null, 0, 10), "Should throw exception for null buffer"); } @Test @DisplayName("Should throw exception on negative buffer index") void testDecodeWithNegativeIndex() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
// Try to execute - should be blocked with CIFSException CIFSException exception = assertThrows(CIFSException.class, () -> { circuitBreaker.executeWithCircuitBreaker(() -> "should not execute"); }, "Circuit breaker should throw CIFSException when open"); assertTrue(exception.getMessage().contains("Circuit breaker 'test' is open"), "Exception message should indicate circuit is open"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
import java.util.Enumeration; import java.util.InvalidPropertiesFormatException; import java.util.Map; import java.util.Properties; import java.util.Set; import org.codelibs.core.exception.FileAccessException; import org.codelibs.core.exception.IORuntimeException; /** * The {@code DynamicProperties} class extends {@link Properties} to provide dynamic * loading and storing of properties from a file. It monitors the file for changesRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
@DisplayName("Methods should handle empty buffer") void testMethodsWithEmptyBuffer() { // Arrange byte[] emptyBuffer = new byte[0]; // Act & Assert - These should not throw exceptions assertEquals(0, response.writeSetupWireFormat(emptyBuffer, 0)); assertEquals(0, response.writeParametersWireFormat(emptyBuffer, 0)); assertEquals(0, response.writeDataWireFormat(emptyBuffer, 0));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
cmd/postpolicyform.go
var keyInPolicyExceptions = map[string]bool{ xhttp.AmzSignature: true, "File": true, "Policy": true, // MinIO specific exceptions to the general S3 rule above. encrypt.SseKmsKeyID: true, encrypt.SseEncryptionContext: true, encrypt.SseCustomerAlgorithm: true, encrypt.SseCustomerKey: true, encrypt.SseCustomerKeyMD5: true,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Oct 23 15:10:12 UTC 2025 - 12.1K bytes - Viewed (0) -
fastapi/security/http.py
import binascii from base64 import b64decode from typing import Annotated, Optional from annotated_doc import Doc from fastapi.exceptions import HTTPException from fastapi.openapi.models import HTTPBase as HTTPBaseModel from fastapi.openapi.models import HTTPBearer as HTTPBearerModel from fastapi.security.base import SecurityBase from fastapi.security.utils import get_authorization_scheme_param from pydantic import BaseModel
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 13.2K bytes - Viewed (0) -
fastapi/openapi/utils.py
from fastapi.dependencies.utils import ( _get_flat_fields_from_params, get_flat_dependant, get_flat_params, get_validation_alias, ) from fastapi.encoders import jsonable_encoder from fastapi.exceptions import FastAPIDeprecationWarning from fastapi.openapi.constants import METHODS_WITH_BODY, REF_PREFIX from fastapi.openapi.models import OpenAPI from fastapi.params import Body, ParamTypes from fastapi.responses import Response
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 23.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
} @Test @DisplayName("Should throw exception on null buffer") void testEncodeWithNullBuffer() { assertThrows(IllegalArgumentException.class, () -> testRequest.encode(null, 0), "Should throw exception for null buffer"); } @Test @DisplayName("Should throw exception on negative index") void testEncodeWithNegativeIndex() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java
// Second session urlFilter.init("session-002"); urlFilter.addInclude("https://second.com/.*"); // Behavior depends on implementation // At minimum, should not throw exceptions assertNotNull(urlFilter); } /** * Test special characters in URL patterns */ public void test_specialCharactersInPatterns() { String sessionId = "test-session-018";Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19K bytes - Viewed (0)