Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,254 for invalid (0.15 sec)

  1. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

        public void test_constructor_withMessageAndCause() {
            // Test constructor with message and Exception cause
            String message = "SSO token validation error";
            Exception cause = new RuntimeException("Invalid token format");
            SsoProcessException exception = new SsoProcessException(message, cause);
    
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/entity/GeoInfo.java

         * geo-distance queries for each configured geographic field.
         *
         * @param request the HTTP servlet request containing geographic parameters
         * @throws InvalidQueryException if geo point format is invalid or parsing fails
         */
        public GeoInfo(final HttpServletRequest request) {
    
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String[] geoFields = fessConfig.getQueryGeoFieldsAsArray();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                assertEquals(0, result);
            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testReadBytesWireFormatInvalidSize() {
                byte[] buffer = new byte[1024];
                int bufferIndex = 100;
    
                // Write invalid structure size = 8
                SMBUtil.writeInt2(8, buffer, bufferIndex);
    
                SMBProtocolDecodingException exception =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

                    .orElseThrow(() -> new SsoMessageException(
                            messages -> messages.addErrorsFailedToProcessSsoRequest(UserMessages.GLOBAL_PROPERTY_KEY, "Invalid state."),
                            "Failed to process metadata.", new SsoProcessException("Invalid state.")));
        }
    
        /**
         * Gets the logout response.
         * @return The logout response.
         */
        protected ActionResponse getLogoutResponse() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.4K bytes
    - Viewed (1)
  5. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          assertErrorMessage(e, notEqualObject1 + " [group 1, item 2]");
          return;
        }
        fail("Should get not equal to equal object error");
      }
    
      /**
       * Test for an invalid hashCode method, i.e., one that returns different value for objects that
       * are equal according to the equals method
       */
      public void testInvalidHashCode() {
        Object a = new InvalidHashCodeObject(1, 2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            // Re-prepare state for second branch: not open but handle set
            when(fileHandle.isValid()).thenReturn(false);
            // Need to reopen logic to set handle again
            // Reset open flag by reconstructing target
            target = new SmbPipeHandleImpl(pipe);
    
            target.ensureOpen(); // handle present but invalid per isValid=false
            target.close();
            verify(fileHandle, atLeastOnce()).release();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

        }
    
        public void test_multipleNestedExceptions() {
            // Test with multiple nested exceptions
            Exception innerCause = new IllegalArgumentException("Invalid image format");
            Exception middleCause = new RuntimeException("Processing failed", innerCause);
            ThumbnailGenerationException exception = new ThumbnailGenerationException("Thumbnail generation error", middleCause);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. cmd/utils_test.go

    		t.Fatal("Expected a non nil error, but nil error returned for invalid profiler.")
    	}
    }
    
    // checkURL - checks if passed address correspond
    func checkURL(urlStr string) (*url.URL, error) {
    	if urlStr == "" {
    		return nil, errors.New("Address cannot be empty")
    	}
    	u, err := url.Parse(urlStr)
    	if err != nil {
    		return nil, fmt.Errorf("`%s` invalid: %s", urlStr, err.Error())
    	}
    	return u, nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. cmd/object_api_suite_test.go

    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    	if bytesBuffer.String() != "The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed." {
    		t.Errorf("%s: Invalid upload ID error mismatch.", instanceType)
    	}
    }
    
    // Wrapper for calling testNonExistentBucketOperations for both Erasure and FS.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testReadInvalidStructureSize() {
                // Create buffer with invalid structure size
                byte[] buffer = new byte[64];
                SMBUtil.writeInt2(23, buffer, 0); // Invalid size (should be 24)
    
                SMBProtocolDecodingException exception =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top