Search Options

Results per page
Sort
Preferred Languages
Advance

Results 671 - 680 of 1,808 for Try (0.07 sec)

  1. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

         * @param userCode The user code.
         * @return The user information.
         */
        public OptionalEntity<UserInfo> getUserInfo(final String userCode) {
            if (StringUtil.isNotBlank(userCode)) {
                try {
                    return OptionalEntity.of(userInfoCache.get(userCode));
                } catch (final ExecutionException e) {
                    if (logger.isDebugEnabled()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        PermittedMetaException referenceException = null;
        Object targetReturnValue = null;
        Exception targetException = null;
    
        try {
          targetReturnValue = method.execute(target);
        } catch (Exception e) { // sneaky checked exception
          targetException = e;
        }
    
        try {
          if (method == NEXT_METHOD
              && targetException == null
              && knownOrder == KnownOrder.UNKNOWN_ORDER) {
            /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

            // in test environments, we test that the method exists and can be invoked
            // without throwing unexpected exceptions
            try {
                // Create a new instance to ensure clean state
                SystemMonitorTarget testTarget = new SystemMonitorTarget();
    
                // Try to call the expired method
                // Note: This method may fail in test environments due to system dependencies
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        if (comparator == null) {
          comparator = (Comparator<? super K>) NATURAL_ORDER;
        }
        return comparator;
      }
    
      @Override
      public boolean containsKey(Object key) {
        try {
          return delegate.containsKey(checkValid(key));
        } catch (NullPointerException | ClassCastException e) {
          return false;
        }
      }
    
      @Override
      public boolean containsValue(Object value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

         *
         * @param originalRepository
         * @return true if external.
         */
        static boolean isExternalRepo(ArtifactRepository originalRepository) {
            try {
                URL url = new URL(originalRepository.getUrl());
                return !(isLocal(url.getHost()) || url.getProtocol().equals("file"));
            } catch (MalformedURLException e) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

            }
    
            List<Exception> exceptionList = null;
            try {
                int count = 0;
                while (count < maxRetryCount) {
                    if (listener != null) {
                        listener.onRequest(this, request, count);
                    }
    
                    try {
                        return client.execute(request);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                    dictionaryPath = fessConfig.getIndexDictionaryPrefix() + "/" + path;
                } else {
                    dictionaryPath = path;
                }
                try {
                    source = FileUtil.readUTF8(filePath);
                    try (CurlResponse response =
                            ComponentUtil.getCurlHelper().post("/_configsync/file").param("path", dictionaryPath).body(source).execute()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

      }
    
      public void testContainsEntryWithIncomparableKey() {
        try {
          assertFalse(getMap().entrySet().contains(mapEntry(IncomparableType.INSTANCE, v0())));
        } catch (ClassCastException acceptable) {
          // allowed by the spec
        }
      }
    
      public void testContainsEntryWithIncomparableValue() {
        try {
          assertFalse(getMap().entrySet().contains(mapEntry(k0(), IncomparableType.INSTANCE)));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

      }
    
      public void testContainsEntryWithIncomparableKey() {
        try {
          assertFalse(getMap().entrySet().contains(mapEntry(IncomparableType.INSTANCE, v0())));
        } catch (ClassCastException acceptable) {
          // allowed by the spec
        }
      }
    
      public void testContainsEntryWithIncomparableValue() {
        try {
          assertFalse(getMap().entrySet().contains(mapEntry(k0(), IncomparableType.INSTANCE)));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

            assertEquals(blob.length, SMBUtil.readInt2(buf, off));
        }
    
        // --- reflection helpers --------------------------------------------
        private static Object getField(Object target, String name) {
            try {
                var f = target.getClass().getDeclaredField(name);
                f.setAccessible(true);
                return f.get(target);
            } catch (Exception e) {
                fail("access field " + name, e);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top