- Sort Score
- Result 10 results
- Languages All
Results 431 - 440 of 1,808 for Try (0.1 sec)
-
src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java
public static SmbFile[] listFilesWithLeasing(SmbFile smbFile) throws SmbException { if (!smbFile.isDirectory()) { throw new SmbException("Not a directory: " + smbFile.getPath()); } try (SmbTreeHandleImpl th = smbFile.ensureTreeConnected()) { // Check if we can use directory leasing DirectoryLeaseManager dirManager = getDirectoryLeaseManager(th);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/http/Handler.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
server.setHandler(handlers); } public void start() { try { server.start(); } catch (final Exception e) { throw new CrawlerSystemException(e); } } public void stop() { try { server.stop(); server.join(); } catch (final Exception e) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/ApiAdminLabeltypeAction.java
validateApi(body, messages -> {}); body.crudMode = CrudMode.CREATE; final LabelType labelType = getLabelType(body).map(entity -> { try { labelTypeService.store(entity); } catch (final Exception e) { logger.warn("Failed to process a request.", e);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 8.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/DictionaryManager.java
* @throws DictionaryException if there's an error accessing the dictionaries */ public DictionaryFile<? extends DictionaryItem>[] getDictionaryFiles() { try (CurlResponse response = ComponentUtil.getCurlHelper() .get("/_configsync/file") .param("fields", "path,@timestamp")
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.7K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java
listener = listeners.get(state); } if (code == null || listener == null) { return new MockResponse() .setResponseCode(404) .setBody("unexpected request"); } try { OAuthSession session = slackApi.exchangeCode(code, redirectUrl()); listener.sessionGranted(session); } catch (IOException e) { return new MockResponse() .setResponseCode(400)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 12 07:26:27 UTC 2021 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
assertEquals("foo", getUnchecked(immediateFuture("foo"))); } @J2ktIncompatible @GwtIncompatible // Thread.interrupt public void testGetUnchecked_interrupted() { Thread.currentThread().interrupt(); try { assertEquals("foo", getUnchecked(immediateFuture("foo"))); assertTrue(Thread.currentThread().isInterrupted()); } finally { Thread.interrupted(); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java
@CanIgnoreReturnValue private boolean setCount(E element, int count) { return getMultiset().setCount(element, getMultiset().count(element), count); } private void assertSetCountNegativeOldCount() { try { getMultiset().setCount(e3(), -1, 1); fail("calling setCount() with a negative oldCount should throw IllegalArgumentException"); } catch (IllegalArgumentException expected) { } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
assertEquals("foo", getUnchecked(immediateFuture("foo"))); } @J2ktIncompatible @GwtIncompatible // Thread.interrupt public void testGetUnchecked_interrupted() { Thread.currentThread().interrupt(); try { assertEquals("foo", getUnchecked(immediateFuture("foo"))); assertTrue(Thread.currentThread().isInterrupted()); } finally { Thread.interrupted(); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoExceptionTest.java
// When byte[] bytes; try (ByteArrayOutputStream bout = new ByteArrayOutputStream(); ObjectOutputStream oout = new ObjectOutputStream(bout)) { oout.writeObject(original); oout.flush(); bytes = bout.toByteArray(); } SpnegoException restored;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0)