Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 211 for invalide (0.16 seconds)

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

        @Test
        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());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

    public class InvalidQueryExceptionTest extends UnitFessTestCase {
    
        @Test
        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);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/pager/ReqHeaderPager.java

         */
        public void setExistNextPage(final boolean existNextPage) {
            this.existNextPage = existNextPage;
        }
    
        /**
         * Gets the number of records to display per page.
         * If not set or invalid, returns the default page size.
         *
         * @return the page size
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            }
            assertTrue(foundTestMethod);
        }
    
        @Test
        public void test_nestedExceptions() {
            // Test nested exception handling
            Exception innerCause = new IllegalArgumentException("Invalid LDAP parameter");
            RuntimeException middleCause = new RuntimeException("LDAP configuration error", innerCause);
            LdapOperationException exception = new LdapOperationException("LDAP operation failed", middleCause);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  5. 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());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java

            ComponentUtil.setFessConfig(mockConfig);
    
            // Setup mock request manager with invalid format
            RequestManager mockRequestManager = createMockRequestManager("invalid_locale_format");
    
            // Execute
            OptionalThing<Locale> result = provider.findBusinessLocale(null, mockRequestManager);
    
            // Verify - invalid format should return empty due to exception in LocaleUtils.toLocale
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/chat/ChatSessionManager.java

         */
        protected int getSessionTimeoutMinutes() {
            final int value = ComponentUtil.getFessConfig().getRagChatSessionTimeoutMinutesAsInteger();
            if (value <= 0) {
                logger.warn("Invalid session timeout: {}. Using default: 30", value);
                return 30;
            }
            return value;
        }
    
        /**
         * Gets the maximum session cache size.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

            validator.initialize(annotation);
    
            // Test that the method can be called (even if context handling is complex)
            try {
                final boolean result = validator.isValid("test", null);
                assertNotNull(Boolean.valueOf(result), "isValid should return a boolean result");
            } catch (final NullPointerException e) {
                // This is expected if the implementation requires a non-null context
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/pager/CrawlingInfoPager.java

            this.existNextPage = existNextPage;
        }
    
        /**
         * Gets the number of records to display per page.
         * If the page size is not set or is invalid (≤0), returns the default page size.
         *
         * @return the page size
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/pager/FailureUrlPager.java

         */
        public void setExistNextPage(final boolean existNextPage) {
            this.existNextPage = existNextPage;
        }
    
        /**
         * Gets the number of records per page.
         * If not set or invalid, returns the default page size.
         *
         * @return the page size
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7K bytes
    - Click Count (0)
Back to Top