- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 1,248 for Invalid (0.04 sec)
-
src/main/java/jcifs/smb/PreauthIntegrityService.java
return false; } if (!context.isValid()) { throw new CIFSException("Preauth integrity context is invalid for session: " + sessionId); } byte[] actualHash = context.getCurrentHash(); boolean isValid = MessageDigest.isEqual(actualHash, expectedHash); if (isValid) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
} } @Test @DisplayName("Should throw exception for invalid structure size") void testReadBytesWireFormatInvalidStructureSize() { // Given byte[] buffer = new byte[10]; int bufferIndex = 0; SMBUtil.writeInt2(5, buffer, bufferIndex); // Invalid structure size // When & Then SMBProtocolDecodingException exception =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
assertTrue(true); } @Test @DisplayName("Should handle invalid protocol ID length") void testInvalidProtocolIdLength() { // Protocol ID is a constant in transform header, not settable // Testing invalid protocol ID during decode instead byte[] invalidBuffer = new byte[52]; // Write invalid protocol ID invalidBuffer[0] = 0x00; invalidBuffer[1] = 0x00;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
cmd/bucket-quota.go
return quotaCfg, err } if !quotaCfg.IsValid() { if quotaCfg.Type == "fifo" { internalLogIf(GlobalContext, errors.New("Detected older 'fifo' quota config, 'fifo' feature is removed and not supported anymore. Please clear your quota configs using 'mc quota clear alias/bucket' and use 'mc ilm add' for expiration of objects"), logger.WarningKind) return quotaCfg, fmt.Errorf("invalid quota type 'fifo'") }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Aug 06 23:48:58 UTC 2025 - 4.4K bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
These handlers are in charge of returning the default JSON responses when you `raise` an `HTTPException` and when the request has invalid data. You can override these exception handlers with your own. ### Override request validation exceptions { #override-request-validation-exceptions } When a request contains invalid data, **FastAPI** internally raises a `RequestValidationError`. And it also includes a default exception handler for it.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactory.java
* @param request the request holding artifact creation parameters * @return an {@code Artifact}, never {@code null} * @throws IllegalArgumentException if {@code request} is null or {@code request.session} is null or invalid */ @Nonnull Artifact create(@Nonnull ArtifactFactoryRequest request); @Nonnull default Artifact create(
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 3.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/CrawlerTest.java
public void test_process_withInvalidExpires() throws Exception { // Test that invalid expires value is handled Crawler.Options options = new Crawler.Options(); options.sessionId = "test-session"; options.expires = "invalid"; // Verify the expires value is set even if invalid assertEquals("invalid", options.expires); } public void test_process_withName() throws Exception {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 30.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java
assertTrue(exception instanceof java.io.Serializable); } public void test_nestedExceptions() { // Test nested exception handling Exception innerCause = new IllegalArgumentException("Invalid parameter"); RuntimeException middleCause = new RuntimeException("Processing failed", innerCause); ThemeException exception = new ThemeException("Theme operation failed", middleCause);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacMacTest.java
keys.put(PacSignature.ETYPE_ARCFOUR_HMAC, hmacKey); PACDecodingException e = assertThrows(PACDecodingException.class, () -> PacMac.calculateMac(-1, keys, TEST_DATA)); // Invalid type assertEquals("Invalid MAC algorithm", e.getMessage()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
cmd/xl-storage-format-v2_string.go
// Code generated by "stringer -type VersionType,ErasureAlgo -output=xl-storage-format-v2_string.go xl-storage-format-v2.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[invalidVersionType-0] _ = x[ObjectType-1] _ = x[DeleteType-2] _ = x[LegacyType-3]
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Dec 02 19:29:16 UTC 2021 - 1.4K bytes - Viewed (0)