- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 2,371 for Try (0.12 seconds)
-
android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java
@Override public void run() { try { workOnQueue(); } catch (Error e) { synchronized (queue) { workerRunningState = IDLE; } throw e; // The execution of a task has ended abnormally. // We could have tasks left in the queue, so should perhaps try to restart a worker,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 10.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java
private static final Logger logger = LogManager.getLogger(ScriptExecutorJob.class); @Override public void run(final LaJobRuntime runtime) { final JobHelper jobHelper = ComponentUtil.getJobHelper(); try { jobHelper.setJobRuntime(runtime); process(runtime); } finally { jobHelper.setJobRuntime(null); } } /** * Processes the job.
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 5.7K bytes - Click Count (0) -
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) { }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 11 21:04:02 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java
try { assertFalse(getMap().remove(null, v3())); } catch (NullPointerException tolerated) { // since the operation would be a no-op, the exception is not required } expectUnchanged(); } @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_VALUE_QUERIES) public void testRemove_nullValueQueriesUnsupported() { try {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java
return asStream("badword.csv").contentTypeOctetStream().stream(out -> { final Path tempFile = ComponentUtil.getSystemHelper().createTempFile("fess-badword-", ".csv").toPath(); try { try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) { badWordService.exportCsv(writer); } catch (final Exception e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 23 23:57:26 GMT 2026 - 18K bytes - Click Count (0) -
scripts/playwright/sql_databases/image01.py
# --------------------- context.close() browser.close() process = subprocess.Popen( ["fastapi", "run", "docs_src/sql_databases/tutorial001.py"], ) try: for _ in range(3): try: response = httpx.get("http://localhost:8000/docs") except httpx.ConnectError: time.sleep(1) break with sync_playwright() as playwright:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Oct 09 19:44:42 GMT 2024 - 1.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/JobHelperTest.java
ComponentUtil.register(new MockJobLogBhv(), JobLogBhv.class.getCanonicalName()); } @Test public void test_register_with_null_scheduledJob() { try { jobHelper.register((ScheduledJob) null); fail("Should throw ScheduledJobException"); } catch (ScheduledJobException e) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
storage = new SecureCredentialStorage(masterPassword.clone()); } @AfterEach public void tearDown() throws Exception { if (storage != null && !storage.isDestroyed()) { try { storage.close(); } catch (Exception e) { // Ignore cleanup exceptions } } if (masterPassword != null) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Closeables.java
* it. * * <p>Example: * * {@snippet : * public void useStreamNicely() throws IOException { * SomeStream stream = new SomeStream("foo"); * boolean threw = true; * try { * // ... code which does something with the stream ... * threw = false; * } finally { * // If an exception occurs, rethrow it only if threw==false: * Closeables.close(stream, threw);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 5.1K bytes - Click Count (0)