Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1131 - 1140 of 2,073 for catch (0.01 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

                    .setResolveTransitively(true);
    
            try {
                result = repositorySystem.resolve(request);
                resolutionErrorHandler.throwErrors(request, result);
            } catch (Exception e) {
                assertTrue(result.hasMissingArtifacts());
            }
        }
    
        @Test
        void testLocalRepositoryBasedir() throws Exception {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java

            assertTrue(content.contains("ใƒ†ใ‚นใƒˆ"));
        }
    
        public void test_getText_null() {
            try {
                jodExtractor.getText(null, null);
                fail();
            } catch (CrawlerSystemException e) {
                // NOP
            }
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashTestUtils.java

          Assert.fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          hashFunction.hashBytes(new byte[128], 64, 256 /* too long len */);
          Assert.fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          hashFunction.hashBytes(new byte[64], 0, -1);
          Assert.fail();
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

         */
        @Override
        public ActionResponse godHandPrologue(final ActionRuntime runtime) {
            try {
                return super.godHandPrologue(runtime);
            } catch (final UserRoleLoginException e) {
                return redirect(e.getActionClass());
            }
        }
    
        /**
         * Hook method called before action execution.
         * <p>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

                                    writer.write(hit.getSourceAsString());
                                    writer.write("\n");
                                } catch (final IOException e) {
                                    throw new IORuntimeException(e);
                                }
                                return true;
                            });
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

        Class<? extends Exception> exceptionType = this.exceptionType.exceptionType;
        for (int i = 0; i < reps; ++i) {
          try {
            tmp += getChecked(validator, future, exceptionType).hashCode();
          } catch (Exception e) {
            tmp += e.hashCode();
          }
        }
        return tmp;
      }
    
      private static GetCheckedTypeValidator nonCachingWithoutConstructorCheckValidator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

      public void testAddAllAtIndex_unsupportedNothing() {
        try {
          assertFalse(
              "addAll(n, nothing) should return false or throw",
              getList().addAll(0, emptyCollection()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      public void testAddAllAtIndex_withDuplicates() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

        doParallelCacheOp(
            count,
            n -> {
              try {
                String unused = cache.get(key, () -> key);
                cache.asMap().compute(key, (k, v) -> null);
              } catch (ExecutionException e) {
                throw new UncheckedExecutionException(e);
              }
            });
    
        CacheTesting.checkEmpty(cache);
        for (RemovalNotification<String, String> entry : notifications) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

                                isBeingDeleted, isInConflict, isActive, isPermanent, macAddress);
                    }
                }
            } catch (final UnsupportedEncodingException uee) {}
            return srcIndex - start;
        }
    
        @Override
        public String toString() {
            return ("NodeStatusResponse[" + super.toString() + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            configuration.setResolveDependencies(true);
            initRepoSession(configuration);
    
            try {
                return projectBuilder.build(pom, configuration).getProject();
            } catch (Exception e) {
                Throwable cause = e.getCause();
                if (cause instanceof ModelBuildingException modelBuildingException) {
                    StringBuilder message = new StringBuilder("In: " + pom + "\n\n");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top