- Sort Score
- Num 10 results
- Language All
Results 261 - 270 of 2,367 for Exceptions (0.06 seconds)
-
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);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (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() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.2K bytes - Click Count (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"); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.2K bytes - Click Count (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 changesCreated: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 13.1K bytes - Click Count (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));Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (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,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Oct 23 15:10:12 GMT 2025 - 12.1K bytes - Click Count (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
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 13.2K bytes - Click Count (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
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 23.2K bytes - Click Count (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() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (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";Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Wed Sep 03 14:42:53 GMT 2025 - 19K bytes - Click Count (0)