- Sort Score
- Result 10 results
- Languages All
Results 1361 - 1370 of 1,922 for Try (0.03 sec)
-
src/main/java/org/codelibs/fess/ds/AbstractDataStore.java
protected long getReadInterval(final DataStoreParams paramMap) { long readInterval = 0; final String value = paramMap.getAsString("readInterval"); if (StringUtil.isNotBlank(value)) { try { readInterval = Long.parseLong(value); } catch (final NumberFormatException e) { logger.warn("Invalid read interval: {}", value); } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkTester.java
} @Override public String getName() { return super.getName() + " [" + suiteName + " [" + caseDesc + "]]"; } protected static ImmutableList<String> getLines(final String string) { try { return new CharSource() { @Override public Reader openStream() throws IOException { return new StringReader(string); } }.readLines(); } catch (IOException e) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 27 18:57:08 UTC 2022 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ReflectionFreeAssertThrows.java
expectedThrowable + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the" + " map in that class."); } Object result; try { result = supplier.get(); } catch (Throwable t) { if (predicate.apply(t)) { // We are careful to set up INSTANCE_OF to match each Predicate to its target Class. @SuppressWarnings("unchecked")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:43:49 UTC 2024 - 7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java
* are passed to maven, possibly containing profile activator properties * */ public DefaultProfileManager(PlexusContainer container, Properties props) { try { this.profileSelector = container.lookup(ProfileSelector.class); this.logger = ((MutablePlexusContainer) container).getLogger(); } catch (ComponentLookupException e) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.7K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/BuildModelSourceTransformerTest.java
new BuildModelSourceTransformer().transform(pomFile, context, transformed); return transformed; } public static boolean equalsDeep(Object m1, Object m2) { try { if (m1 == m2) { return true; } if (m1 == null || m2 == null) { return false; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.1K bytes - Viewed (0) -
docs/de/docs/how-to/custom-request-and-route.md
/// Wir können denselben Ansatz auch verwenden, um in einem Exceptionhandler auf den Requestbody zuzugreifen. Alles, was wir tun müssen, ist, den Request innerhalb eines `try`/`except`-Blocks zu handhaben: ```Python hl_lines="13 15" {!../../docs_src/custom_request_and_route/tutorial002.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.2K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
val dateFormat = SimpleDateFormat("yyMMddHHmmss'Z'").apply { timeZone = utc set2DigitYearStart(Date(-631152000000L)) // 1950-01-01T00:00:00Z. } try { val parsed = dateFormat.parse(string) return parsed.time } catch (e: ParseException) { throw ProtocolException("Failed to parse UTCTime $string") } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
this.prefix = prefix; } private void loadFromZip(final URL zipUrl) { final ZipInputStream zis = new ZipInputStream(URLUtil.openStream(zipUrl)); try { ZipEntry entry = null; while ((entry = ZipInputStreamUtil.getNextEntry(zis)) != null) { entryNames.add(entry.getName());
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 19.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
private final List<Member> ignoredMembers = Lists.newArrayList(); private ExceptionTypePolicy policy = ExceptionTypePolicy.NPE_OR_UOE; public NullPointerTester() { try { /* * Converter.apply has a non-nullable parameter type but doesn't throw for null arguments. For * more information, see the comments in that class. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 23.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/EventListenerTest.kt
return "text/plain".toMediaType() } override fun contentLength(): Long { return chunk!!.size * 8L } override fun writeTo(sink: BufferedSink) { try { var i = 0 while (i < contentLength()) { sink.write(chunk!!) sink.flush() Thread.sleep(100) i += chunk.size }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 56.9K bytes - Viewed (2)