- Sort Score
- Num 10 results
- Language All
Results 441 - 450 of 1,453 for catch (0.05 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/lifecycle/MojoExecutionXPathContainer.java
return context.getValue(expression) != null; } public Object getValue(String expression) { try { return context.getValue(expression); } catch (JXPathNotFoundException e) { return null; } } public boolean xPathExpressionEqualsValue(String expression, String value) { return context.getValue(expression) != null
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.1K bytes - Click Count (0) -
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java
doThrow(parseException).when(toolchainsReader).read(any(InputStream.class), ArgumentMatchers.anyMap()); try { toolchainBuilder.build(request); } catch (ToolchainsBuildingException e) { assertEquals( "1 problem was encountered while building the effective toolchains" + LS
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 14K bytes - Click Count (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
.eventListenerFactory(loggingEventListenerFactory) .build() try { client.newCall(request().build()).execute() fail<Any>() } catch (expected: UnknownHostException) { } logRecorder .assertLogMatch(Regex("""callStart: Request\{method=GET, url=$url\}""")) .assertLogMatch(Regex("""proxySelectStart: $url"""))
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 10.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularContiguousSet.java
if (object == null) { return false; } try { @SuppressWarnings("unchecked") // The worst case is usually CCE, which we catch. C c = (C) object; return range.contains(c); } catch (ClassCastException e) { return false; } } @Override public boolean containsAll(Collection<?> targets) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
private static void executeListener(Runnable runnable, Executor executor) { try { executor.execute(runnable); } catch (Exception e) { // sneaky checked exception // Log it and keep going -- bad runnable and/or executor. Don't punish the other runnables if // we're given a bad one. We only catch Exception because we want Errors to propagate up. log.get() .log( Level.SEVERE,
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java
+ " 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") T caught = (T) t; return caught; } throw new AssertionError(Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/escape/ReflectionFreeAssertThrows.java
+ " 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") T caught = (T) t; return caught; } throw new AssertionError(Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Challenge.kt
@get:JvmName("charset") val charset: Charset get() { val charset = authParams["charset"] if (charset != null) { try { return Charset.forName(charset) } catch (ignore: Exception) { } } return ISO_8859_1 } constructor(scheme: String, realm: String) : this(scheme, singletonMap("realm", realm)) init {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue May 27 15:01:35 GMT 2025 - 3.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java
MetadataGraphVertex entry = cleanGraph.getEntry(); // entry point v.visit(entry); } return cpc; } catch (GraphConflictResolutionException e) { throw new MetadataGraphTransformationException(e); } } // ===================================================================================================
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 5.1K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java
.forEach(pomPath -> { try { Model model = reader.read(Files.newInputStream(pomPath)); analyzer.analyzePom(model); } catch (Exception e) { System.err.println("Error processing " + pomPath + ": " + e.getMessage()); } }); // Print analysis analyzer.printAnalysis();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 13.4K bytes - Click Count (0)