Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1601 - 1610 of 2,175 for match (0.03 sec)

  1. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            errorConverter.setThrowExceptionOnInit(true);
    
            try {
                errorConverter.init();
                fail("Should throw IOException");
            } catch (IOException e) {
                assertEquals("Init failed", e.getMessage());
            }
        }
    
        @Test
        public void testConvertWithNormalText() throws IOException {
            // Test convert with normal text
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/user/exbhv/GroupBhv.java

                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue()))
                        .collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/exbhv/ScheduledJobBhv.java

        public OptionalEntity<ScheduledJob> selectByPK(final String id) {
            Exception lastException = null;
            for (int i = 0; i < 30; i++) {
                try {
                    return super.selectByPK(id);
                } catch (final Exception e) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to select a job by {}", id, e);
                    }
                    lastException = e;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/toolchain/RequirementMatcherFactory.java

                        return range.containsVersion(version);
                    } else {
                        return range.getRecommendedVersion().compareTo(version) == 0;
                    }
                } catch (InvalidVersionSpecificationException ex) {
                    return false;
                }
            }
    
            @Override
            public String toString() {
                return version.toString();
            }
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. README.md

    ```
    
    ### Exception Handling
    ```java
    import org.codelibs.core.exception.*;
    
    // Runtime exception wrappers eliminate try-catch boilerplate
    try {
        // Code that might throw checked exceptions
        return ClassUtil.newInstance(className); // Wraps checked exceptions automatically
    } catch (ClassNotFoundRuntimeException e) {
        // Handle the wrapped exception
        logger.error("Class not found: " + className, e);
    }
    ```
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/ResourceUtil.java

            final URL url = getResourceNoException(path, extension);
            if (url == null) {
                return null;
            }
            try {
                return url.openStream();
            } catch (final IOException e) {
                return null;
            }
        }
    
        /**
         * Returns whether the resource exists in the context class loader.
         *
         * @param path
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

                // The important point is that the validation logic exists in the code
                assertTrue(true, "Negotiate context data length validation exists in code (max 1024 bytes)");
            } catch (SMBProtocolDecodingException e) {
                // If exception thrown, validation is working
                assertTrue(e.getMessage().contains("Invalid negotiate context data length") || e.getMessage().contains("Buffer too small")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. docs/bucket/versioning/README.md

          minioClient.enableVersioning(EnableVersioningArgs.builder().bucket("my-bucketname").build());
    
          System.out.println("Bucket versioning is enabled successfully");
    
        } catch (MinioException e) {
          System.out.println("Error occurred: " + e);
        }
      }
    }
    ```
    
    ### isVersioningEnabled() API
    
    ```
    public class IsVersioningEnabled {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.java

      @Override
      public SampleElements<Entry<String, String>> samples() {
        return new SampleElements<>(
            mapEntry("one", "January"),
            mapEntry("two", "February"),
            mapEntry("three", "March"),
            mapEntry("four", "April"),
            mapEntry("five", "May"));
      }
    
      @Override
      public final BiMap<String, String> create(Object... entries) {
        @SuppressWarnings("unchecked")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MapMakerTest.java

      public void xtestInitialCapacity_setTwice() {
        MapMaker maker = new MapMaker().initialCapacity(16);
        try {
          // even to the same value is not allowed
          maker.initialCapacity(16);
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testReturnsPlainConcurrentHashMapWhenPossible() {
        Map<?, ?> map = new MapMaker().initialCapacity(5).makeMap();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top