- Sort Score
- Num 10 results
- Language All
Results 531 - 540 of 2,371 for Try (0.18 seconds)
-
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
if (mightBeAndroid()) { try { helper = new UnsafeAtomicHelper(); } catch (Exception | Error unsafeFailure) { // sneaky checked exception thrownUnsafeFailure = unsafeFailure; // Catch absolutely everything and fall through to AtomicReferenceFieldUpdaterAtomicHelper. try { helper = new AtomicReferenceFieldUpdaterAtomicHelper();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 33.2K bytes - Click Count (0) -
src/test/java/jcifs/util/PathValidatorTest.java
// Windows reserved names should be caught regardless of case try { validator.validatePath("\\share\\con"); fail("Should block lowercase reserved name"); } catch (SmbException e) { // Expected } try { validator.validatePath("\\share\\Con"); fail("Should block mixed case reserved name");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
@Override public final void run() { try { realRun(); } catch (Throwable t) { threadUnexpectedException(t); } } } abstract class CheckedCallable<T> implements Callable<T> { abstract T realCall() throws Throwable; @Override public final T call() { try { return realCall(); } catch (Throwable t) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.8K bytes - Click Count (0) -
apache-maven/src/assembly/maven/bin/JvmConfigParser.java
} return; } try { String result = parseJvmConfig(jvmConfigPath, mavenProjectBasedir); if (outputFile != null) { // Write directly to file - this ensures proper file handle cleanup on Windows // Add newline at end for Windows 'for /f' command compatibility try (Writer writer = Files.newBufferedWriter(outputFile, StandardCharsets.UTF_8)) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Dec 10 16:40:06 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java
} @Test public void test_throwAndCatch() { // Test throwing and catching the exception String username = "nonexistentuser"; try { throw new FessUserNotFoundException(username); } catch (FessUserNotFoundException e) { assertEquals("User is not found: nonexistentuser", e.getMessage()); assertNull(e.getCause());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/NetServerEnumIterator.java
throw new SmbException("The requested list operations is invalid: " + locator.getURL()); } this.response = new NetServerEnum2Response(th.getConfig()); this.treeHandle = th.acquire(); try { this.next = open(); } catch (final Exception e) { this.treeHandle.release(); throw e; } } private FileEntry open() throws CIFSException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
config.getInitParameter("jcifs.smb.client.domain"); config.getInitParameter("jcifs.http.enableBasic"); // Set required fields try { java.lang.reflect.Field styleField = NetworkExplorer.class.getDeclaredField("style"); styleField.setAccessible(true); styleField.set(this, "test_style");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 21.2K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java
CrawlingParameterUtil.setCrawlerContext(crawlerContext); CrawlingParameterUtil.setUrlQueueService(urlQueueService); CrawlingParameterUtil.setDataService(dataService); try { while (crawlerContext.getStatus() != CrawlerStatus.DONE && isContinue(threadCheckCount)) { final UrlQueue<?> urlQueue = urlQueueService.poll(crawlerContext.sessionId);
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Wed Dec 31 09:07:38 GMT 2025 - 20.3K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CacheResponse.java
.build(); } public void run() throws Exception { Request request = new Request.Builder() .url("http://publicobject.com/helloworld.txt") .build(); String response1Body; try (Response response1 = client.newCall(request).execute()) { if (!response1.isSuccessful()) throw new IOException("Unexpected code " + response1); response1Body = response1.body().string();
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun May 22 01:29:42 GMT 2016 - 2.4K bytes - Click Count (0) -
compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Writer.java
* @param writer a writer object. * @param settings a settings object. * @throws IOException java.io.IOException if any. */ public void write(Writer writer, Settings settings) throws IOException { try { delegate.write(writer, settings.getDelegate()); } catch (XMLStreamException e) { throw new IOException("Error writing settings to " + writer, e); } } /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.5K bytes - Click Count (0)