Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 1,808 for try (0.01 sec)

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

        }
    
        public void test_getUserInfo_emptyUserCode() {
            try {
                var result = searchLogHelper.getUserInfo("");
                assertFalse(result.isPresent());
            } catch (Exception e) {
                // Expected in test environment
                assertTrue(true);
            }
        }
    
        public void test_getUserInfo_nullUserCode() {
            try {
                var result = searchLogHelper.getUserInfo(null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/context/CIFSContextWrapper.java

         *
         * @see jcifs.CIFSContext#get(java.lang.String)
         */
        @Override
        public SmbResource get(final String url) throws CIFSException {
            try {
                return new SmbFile(url, this);
            } catch (final MalformedURLException e) {
                throw new CIFSException("Invalid URL " + url, e);
            }
        }
    
        /**
         *
         * {@inheritDoc}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TarExtractor.java

            final StringBuilder buf = new StringBuilder(1000);
    
            ArchiveInputStream ais = null;
    
            try {
                ais = archiveStreamFactory.createArchiveInputStream("tar", in);
                TarArchiveEntry entry = null;
                long contentSize = 0;
                while ((entry = (TarArchiveEntry) ais.getNextEntry()) != null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        assertDone(future);
        assertThat(future.isCancelled()).isFalse();
    
        try {
          getDone(future);
          fail();
        } catch (ExecutionException e) {
          assertThat(e).hasCauseThat().isSameInstanceAs(expectedException);
        }
    
        try {
          getDoneFromTimeoutOverload(future);
          fail();
        } catch (ExecutionException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

        assertTrue("remove(present) should not remove the element", collection.contains(e0()));
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testRemove_unsupportedNotPresent() {
        try {
          assertFalse(
              "remove(notPresent) should return false or throw UnsupportedOperationException",
              collection.remove(e3()));
        } catch (UnsupportedOperationException tolerated) {
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 21:04:02 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

      }
    
      private void parallelDrainQueue(int threadCount) {
        ExecutorService executor = Executors.newFixedThreadPool(threadCount);
        for (int i = 0; i < threadCount; i++) {
          executor.execute(() -> {
            try {
              drainQueue();
            } catch (Throwable e) {
              e.printStackTrace();
            }
          });
        }
        executor.shutdown();
      }
    
      private void drainQueue() throws Exception {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jul 23 00:58:06 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java

            keys.put(PacSignature.ETYPE_AES256_CTS_HMAC_SHA1_96, kdcKey);
    
            // Mock Pac construction to bypass complex validation
            try (MockedConstruction<Pac> pacMock = Mockito.mockConstruction(Pac.class, (mock, context) -> {
                // Setup mock behavior
                PacLogonInfo mockLogonInfo = Mockito.mock(PacLogonInfo.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NetworkExplorer.java

                    p.setProperty(name, getInitParameter(name));
                }
            }
    
            try {
                if (p.getProperty("jcifs.smb.client.username") == null) {
                    new NtlmSsp();
                } else {
                    this.credentialsSupplied = true;
                }
    
                try {
                    try (InputStream is = getClass().getClassLoader().getResourceAsStream("jcifs/http/ne.css");) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

            final List<String> subPackages = new ArrayList<>();
            final String path = basePackage.replace('.', '/');
            final ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
            try {
                final Enumeration<URL> resources = classLoader.getResources(path);
    
                while (resources.hasMoreElements()) {
                    final URL resource = resources.nextElement();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

              "007070038026e7303746c64c01b0a686f73746d61737465720d6565737469696e7465726e6574c01b5adb1" +
              "2c100000e10000003840012750000000e10",
          ),
        )
        try {
          dns.lookup("google.com")
          fail<Any>()
        } catch (uhe: UnknownHostException) {
          assertThat(uhe.message).isEqualTo("google.com: NXDOMAIN")
        }
        val recordedRequest = server.takeRequest()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top