Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for isInvalid (0.29 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

     *   override fun intercept(chain: Interceptor.Chain): Response {
     *     if (myConfig.isInvalid()) {
     *       return Response.Builder()
     *           .request(chain.request())
     *           .protocol(Protocol.HTTP_1_1)
     *           .code(400)
     *           .message("client config invalid")
     *           .body("client config invalid".toResponseBody(null))
     *           .build()
     *     }
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java

            assertTrue(validator.isValid(null, context));
        }
    
        public void test_isValid_blankValue() {
            final ConstraintValidatorContext context = null;
            assertTrue(validator.isValid(" ", context));
            assertTrue(validator.isValid("   ", context));
            assertTrue(validator.isValid("\t", context));
            assertTrue(validator.isValid("\n", context));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/HostSpecifier.java

          ParseException parseException = new ParseException("Invalid host specifier: " + specifier, 0);
          parseException.initCause(e);
          throw parseException;
        }
      }
    
      /**
       * Determines whether {@code specifier} represents a valid {@link HostSpecifier} as described in
       * the documentation for {@link #fromValid(String)}.
       */
      public static boolean isValid(String specifier) {
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/exception/InvalidAccessTokenException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * Exception thrown when an invalid access token is encountered.
     * This exception is typically used in authentication and authorization contexts
     * where a provided access token is invalid, expired, or malformed.
     */
    public class InvalidAccessTokenException extends FessSystemException {
    
        /** Serial version UID for serialization */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. 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("isValid should return a boolean result", Boolean.valueOf(result));
            } catch (final NullPointerException e) {
                // This is expected if the implementation requires a non-null context
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            assertEquals(exception.getMessage(), exception2.getMessage());
        }
    
        public void test_toString() {
            // Test the toString method
            String message = "LDAP configuration is invalid";
            LdapConfigurationException exception = new LdapConfigurationException(message);
    
            String toStringResult = exception.toString();
            assertNotNull(toStringResult);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

            assertNull(exception.getCause());
        }
    
        public void test_exceptionChaining() {
            // Test exception chaining
            Throwable rootCause = new IllegalArgumentException("Invalid argument");
            Throwable intermediateCause = new RuntimeException("Processing failed", rootCause);
            String message = "Plugin operation failed";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/exception/InvalidQueryException.java

    import org.codelibs.fess.mylasta.action.FessMessages;
    import org.lastaflute.web.validation.VaMessenger;
    
    /**
     * Exception thrown when an invalid query is encountered.
     * This exception is typically used in search contexts where a provided
     * query is malformed, contains invalid syntax, or violates query constraints.
     */
    public class InvalidQueryException extends FessSystemException {
    
        /** Serial version UID for serialization */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            Exception cause = new IllegalArgumentException("Invalid SSO token");
            SsoLoginException exception = new SsoLoginException("SSO error", cause);
    
            Throwable retrievedCause = exception.getCause();
            assertNotNull(retrievedCause);
            assertSame(cause, retrievedCause);
            assertEquals("Invalid SSO token", retrievedCause.getMessage());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

        }
    
        public void test_valueOf_invalidName() {
            // Test valueOf with invalid name throws exception
            try {
                SsoResponseType.valueOf("INVALID");
                fail("Expected IllegalArgumentException");
            } catch (IllegalArgumentException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("INVALID"));
            }
        }
    
        public void test_valueOf_null() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top