Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1151 - 1160 of 2,073 for catch (0.02 sec)

  1. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

            });
    
            try {
                HtmlNext result = virtualHostHelper.getVirtualHostPath(null);
                // If it doesn't throw an exception, the test passes
                assertTrue(true);
            } catch (Exception e) {
                // If it throws any exception, the test passes
                assertTrue(true);
            }
        }
    
        public void test_getVirtualHostPath_withComplexPath() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java

            }
    
            @Override
            public Class<?> fromComponentNameToClass(String componentName) {
                try {
                    return Class.forName(componentName);
                } catch (ClassNotFoundException e) {
                    return null;
                }
            }
    
            @Override
            public Class<?> toCompleteClass(Class<?> clazz) {
                return clazz;
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                return value;
            }
    
            /**
             * Matches the given path.
             *
             * @param path The path to match.
             * @return True if the path matches, otherwise false.
             */
            public boolean match(final String path) {
                if (includedPaths == null) {
                    if (excludedPaths != null && excludedPaths.matcher(path).matches()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsBadWordBhv.java

                result.setUpdatedBy(DfTypeUtil.toString(source.get("updatedBy")));
                result.setUpdatedTime(DfTypeUtil.toLong(source.get("updatedTime")));
                return updateEntity(source, 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: Sat Mar 15 06:53:53 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsBoostDocumentRuleBhv.java

                result.setUpdatedTime(DfTypeUtil.toLong(source.get("updatedTime")));
                result.setUrlExpr(DfTypeUtil.toString(source.get("urlExpr")));
                return updateEntity(source, 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: Sat Mar 15 06:53:53 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsDuplicateHostBhv.java

                result.setUpdatedBy(DfTypeUtil.toString(source.get("updatedBy")));
                result.setUpdatedTime(DfTypeUtil.toLong(source.get("updatedTime")));
                return updateEntity(source, 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: Sat Mar 15 06:53:53 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsJobLogBhv.java

                result.setStartTime(DfTypeUtil.toLong(source.get("startTime")));
                result.setTarget(DfTypeUtil.toString(source.get("target")));
                return updateEntity(source, 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: Sat Mar 15 06:53:53 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

            timeZone = utc
            set2DigitYearStart(Date(-631152000000L)) // 1950-01-01T00:00:00Z.
          }
    
        try {
          val parsed = dateFormat.parse(string)
          return parsed.time
        } catch (e: ParseException) {
          throw ProtocolException("Failed to parse UTCTime $string")
        }
      }
    
      internal fun formatUtcTime(date: Long): String {
        val utc = TimeZone.getTimeZone("GMT")
        val dateFormat =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/FunctionsTest.java

          // convoluted way to check that the same result happens from each
          Y expected = null;
          try {
            expected = f.apply(i);
          } catch (IllegalArgumentException e) {
            try {
              g.apply(i);
              fail();
            } catch (IllegalArgumentException ok) {
              continue;
            }
          }
          assertEquals(expected, g.apply(i));
        }
      }
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

      }
    
      public void testSubList_startGreaterThanEnd() {
        try {
          getList().subList(1, 0);
          fail("subList(1, 0) should throw");
        } catch (IndexOutOfBoundsException expected) {
        } catch (IllegalArgumentException expected) {
          /*
           * The subList() docs claim that this should be an
           * IndexOutOfBoundsException, but many JDK implementations throw
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13.5K bytes
    - Viewed (0)
Back to top