Search Options

Results per page
Sort
Preferred Languages
Advance

Results 881 - 890 of 2,175 for catch (0.05 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java

        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testClear_unsupportedByEmptyCollection() {
        try {
          getMap().clear();
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

            int start = bufferIndex;
    
            int len = readStringLength(buffer, bufferIndex, 32);
            try {
                this.service = new String(buffer, bufferIndex, len, "ASCII");
            }
            catch ( UnsupportedEncodingException uee ) {
                return 0;
            }
            bufferIndex += len + 1;
            // win98 observed not returning nativeFileSystem
            /*
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/job/AllJobScheduler.java

                        logger.debug("Updating job schedule:{}", scheduledJob.getName());
                    }
                    try {
                        jobHelper.register(scheduledJob);
                    } catch (final Exception e) {
                        logger.warn("Failed to update schdule {}", scheduledJob, e);
                    }
                });
                schedulerTime = now;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.8K 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());
            }
        }
    
        @Override
        public ActionResponse hookBefore(final ActionRuntime runtime) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt

            }
    
        override fun close() {
            val errors = mutableListOf<Exception>()
            openKotlinCompilationUnitsByRoot.values.forEach { unit ->
                try {
                    unit.close()
                } catch (ex: Exception) {
                    errors.add(ex)
                }
            }
            openJavaCompilationUnitsByFile.clear()
            openKotlinCompilationUnitsByRoot.clear()
            if (errors.isNotEmpty()) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

            try {
                final XPathFactory factory = XPathFactory.newInstance();
                builder.accept(factory);
                return factory.newXPath();
            } catch (final Exception e) {
                throw new CrawlerSystemException("Failed to create XPath instance.", e);
            }
        }
    
        /**
         *  Use an XPath string to select a nodelist.
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt

                for (name in cert.subjectAlternativeNames) {
                  if (name[0] as Int == 2) {
                    Log.d("SniOverrideTest", "cert: " + name[1])
                  }
                }
                true
              } catch (e: Exception) {
                false
              }
            }
            .build()
    
        val request =
          Request.Builder()
            .url("https://sni.cloudflaressl.com/cdn-cgi/trace")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PasswordBasedExtractor.java

                            list = passwordMap.entrySet().stream().map(e -> new Pair<>(Pattern.compile(e.getKey()), e.getValue()))
                                    .collect(Collectors.toList());
                        } catch (final Exception e) {
                            logger.warn("Failed to parse passwords for " + url, e);
                            list = Collections.emptyList();
                        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractorTest.java

            assertEquals("Shift_JIS", encoding);
        }
    
        public void test_getHtml_null() {
            try {
                htmlExtractor.getText(null, null);
                fail();
            } catch (final CrawlerSystemException e) {
                // NOP
            }
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/WebPlatformToAsciiTest.kt

        val failures = mutableListOf<Throwable>()
        for (entry in list) {
          var failure: Throwable? = null
          try {
            testToAscii(entry.input!!, entry.output, entry.comment)
          } catch (e: Throwable) {
            failure = e
          }
    
          if (entry.input in knownFailures) {
            if (failure == null) failures += AssertionError("known failure didn't fail: $entry")
          } else {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top