- Sort Score
- Num 10 results
- Language All
Results 1341 - 1350 of 2,371 for Try (0.06 seconds)
-
src/main/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRoot.java
for (final WebResource possibleJar : possibleJars) { if (possibleJar.isFile() && possibleJar.getName().endsWith(".jar")) { try (final JarFile jarFile = new JarFile(possibleJar.getCanonicalPath())) { final Manifest manifest = jarFile.getManifest(); if (manifest != null && manifest.getEntries() != null) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/AbstractLoadingCache.java
/** Constructor for use by subclasses. */ protected AbstractLoadingCache() {} @CanIgnoreReturnValue // TODO(b/27479612): consider removing this? @Override public V getUnchecked(K key) { try { return get(key); } catch (ExecutionException e) { throw new UncheckedExecutionException(e.getCause()); } } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 2.8K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Invoker.java
/** * Closes and disposes of this {@link Invoker} instance, releasing any resources it may hold. * This method is called automatically when using try-with-resources statements. * * <p>The default implementation does nothing. Subclasses should override this method * if they need to perform cleanup operations.</p> *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 31 20:56:58 GMT 2025 - 2.6K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
throw new IllegalArgumentException( "missing event subscriber for an annotated method. Is " + listener + " registered?"); } // don't try to remove the set if it's empty; that can't be done safely without a lock // anyway, if the set is empty it'll just be wrapping an array of length 0 } } @VisibleForTesting
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
} } @SuppressWarnings("rawtypes") // class literals protected abstract List<Class<? extends AbstractTester>> getTesters(); private boolean matches(Test test) { Method method; try { method = extractMethod(test); } catch (IllegalArgumentException e) { logger.finer(Platform.format("%s: including by default: %s", test, e.getMessage())); return true; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 10.4K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java
Request request = new Request.Builder() .url("https://www.googleapis.com/urlshortener/v1/url?key=" + GOOGLE_API_KEY) .post(jsonRequestBody) .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 04 17:43:43 GMT 2025 - 3.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java
public void testContains_nullContained() { initMapWithNullValue(); assertTrue("containsValue(null) should return true", getMap().containsValue(null)); } public void testContains_wrongType() { try { // noinspection SuspiciousMethodCalls assertFalse( "containsValue(wrongType) should return false or throw", getMap().containsValue(WrongType.VALUE));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java
assertTrue(future.isDone()); assertFalse(future.isCancelled()); assertTrue(latch.await(5, SECONDS)); assertTrue(future.isDone()); assertFalse(future.isCancelled()); try { future.get(); fail("Future should rethrow the exception."); } catch (ExecutionException e) { assertThat(e).hasCauseThat().hasMessageThat().isEqualTo(message); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 3.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java
method.setAccessible(true); // This should fail because localhost doesn't support SMB multi-channel // but the method should not throw NullPointerException try { method.invoke(multiChannelManager, localhost, loopback); // If it doesn't throw, that's unexpected for localhost fail("Expected CIFSException for localhost multi-channel attempt");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 4K bytes - Click Count (0) -
cmd/api-errors.go
Code: "XMinioServerNotInitialized", Description: "Server not initialized yet, please try again.", HTTPStatusCode: http.StatusServiceUnavailable, }, ErrIAMNotInitialized: { Code: "XMinioIAMNotInitialized", Description: "IAM sub-system not initialized yet, please try again.", HTTPStatusCode: http.StatusServiceUnavailable, }, ErrBucketMetadataNotInitialized: {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 16 07:34:24 GMT 2025 - 93K bytes - Click Count (3)