Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,254 for invalid (0.05 sec)

  1. guava/src/com/google/common/net/MediaType.java

       *
       * @throws IllegalArgumentException if subtype is invalid
       */
      static MediaType createApplicationType(String subtype) {
        return create(APPLICATION_TYPE, subtype);
      }
    
      /**
       * Creates a media type with the "audio" type and the given subtype.
       *
       * @throws IllegalArgumentException if subtype is invalid
       */
      static MediaType createAudioType(String subtype) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

        public void test_constructor_withTypeAndMessage() {
            // Test constructor with type and message
            String type = "Bearer";
            String message = "Invalid access token provided";
            InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
    
            assertEquals(type, exception.getType());
            assertEquals(message, exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/response-model.md

    This will also work because `RedirectResponse` is a subclass of `Response`, and FastAPI will automatically handle this simple case.
    
    ### Invalid Return Type Annotations { #invalid-return-type-annotations }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/UUIDTest.java

            }
    
            @Test
            @DisplayName("Constructor with UUID string containing invalid character should throw IllegalArgumentException")
            void testConstructorWithStringInvalidCharacter() {
                // Arrange
                String invalidUuid = "00112233-4455-6677-8899-AABBCCDDEXX"; // 'X' is invalid
    
                // Act & Assert
                assertThrows(IllegalArgumentException.class, () -> new UUID(invalidUuid),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/jcifs/smb/NtlmContext.java

            return switch (this.state) {
            case 1 -> makeNegotiate(token);
            case 2 -> makeAuthenticate(token);
            default -> throw new SmbException("Invalid state");
            };
        }
    
        /**
         * Creates a Type 3 (authentication) message in response to a Type 2 (challenge) message.
         * @param token the Type 2 message bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

    public class InvalidQueryExceptionTest extends UnitFessTestCase {
    
        public void test_constructor_withMessageCodeMessageAndCause() {
            // Setup
            final String message = "Invalid query syntax error";
            final Exception cause = new RuntimeException("Query parsing failed");
            final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

            // Test valueOf for valid enum names
            assertEquals(SsoResponseType.METADATA, SsoResponseType.valueOf("METADATA"));
            assertEquals(SsoResponseType.LOGOUT, SsoResponseType.valueOf("LOGOUT"));
        }
    
        public void test_valueOf_invalidName() {
            // Test valueOf with invalid name throws exception
            try {
                SsoResponseType.valueOf("INVALID");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/ndr/NdrException.java

         * Error message for null reference pointers.
         */
        public static final String NO_NULL_REF = "ref pointer cannot be null";
    
        /**
         * Error message for invalid array conformance.
         */
        public static final String INVALID_CONFORMANCE = "invalid array conformance";
    
        /**
         * Constructs an NdrException with the specified error message.
         *
         * @param msg the error message
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                assertNull(entry.name.buffer);
            }
    
            @Test
            @DisplayName("Should throw exception for invalid conformance")
            void testDecodeInvalidConformance() throws NdrException {
                // Given: Mocked buffer data with invalid conformance
                samr.SamrSamEntry entry = new samr.SamrSamEntry();
                when(mockNdrBuffer.dec_ndr_long()).thenReturn(1, 100); // idx, _name_bufferp
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
Back to top