- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 2,098 for try (0.62 sec)
-
impl/maven-core/src/main/java/org/apache/maven/plugin/version/internal/DefaultPluginVersionResolver.java
TreeSet<Version> snapshots = new TreeSet<>(Collections.reverseOrder()); for (String ver : versions.versions.keySet()) { try { Version v = versionScheme.parseVersion(ver); if (ver.endsWith("-SNAPSHOT")) { snapshots.add(v); } else {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 29 08:17:07 UTC 2025 - 17.6K bytes - Viewed (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
If you click the lock icon and logout, and then try the same operation again, you will get an HTTP 401 error of: ```JSON { "detail": "Not authenticated" } ``` ### Inactive user { #inactive-user } Now try with an inactive user, authenticate with: User: `alice` Password: `secret2` And try to use the operation `GET` with the path `/users/me`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.4K bytes - Viewed (0) -
guava/src/com/google/common/base/Internal.java
@IgnoreJRERequirement static long toNanosSaturated(Duration duration) { // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for // durations longer than approximately +/- 292 years). try { return duration.toNanos(); } catch (ArithmeticException tooBig) { return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 1.9K bytes - Viewed (0) -
docs/sts/client_grants/sts_element.py
:param name: Name for XML data. Used in XML errors. :param data: string data to be parsed. :return: Returns an STSElement. """ try: return cls(root_name, cElementTree.fromstring(data)) except _ETREE_EXCEPTIONS as error: raise InvalidXMLError( '"{}" XML is not parsable. Message: {}'.format(Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 2.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractorTest.java
logger.info(content); assertTrue(content.contains("テスト")); assertTrue(content.contains("テキスト")); } public void test_getText_maxSize() throws IOException { try (final InputStream in = ResourceUtil.getResourceAsStream("extractor/zip/test.zip")) { zipExtractor.setMaxContentSize(100); zipExtractor.getText(in, null); fail();
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 3.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java
assertNull("get(null) should return null", get(null)); } @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES) public void testGet_nullNotContainedAndUnsupported() { try { assertNull("get(null) should return null or throw", get(null)); } catch (NullPointerException tolerated) { } } @MapFeature.Require(ALLOWS_NULL_KEYS) @CollectionSize.Require(absent = ZERO)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/ProjectUtils.java
} private static RepositorySystem rs(PlexusContainer c) { try { return c.lookup(RepositorySystem.class); } catch (ComponentLookupException e) { throw new IllegalStateException(e); } } private static RepositorySystemSession rss(PlexusContainer c) { try { LegacySupport legacySupport = c.lookup(LegacySupport.class);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java
public V get() throws ExecutionException, InterruptedException { try { super.get(); } catch (ExecutionException e) { rethrow(e); } throw new AssertionError("Unreachable"); } @Override public V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException { try { super.get(timeout, unit); } catch (ExecutionException e) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/JobHelper.java
} final String id = scheduledJob.getId(); if (!Constants.T.equals(scheduledJob.getAvailable())) { logger.info("Inactive Job: id={}, name={}", id, scheduledJob.getName()); try { unregister(scheduledJob); } catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Failed to delete Job: job={}", scheduledJob, e);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
protected void setFieldValue(String fieldName, Object value) { try { Field field = null; Class<?> clazz = this.getClass(); while (clazz != null && field == null) { try { field = clazz.getDeclaredField(fieldName); } catch (NoSuchFieldException e) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0)