- Sort Score
- Num 10 results
- Language All
Results 411 - 420 of 1,188 for Exception (0.15 seconds)
-
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/RepositoryMetadataResolutionException.java
* */ @Deprecated public class RepositoryMetadataResolutionException extends Exception { public RepositoryMetadataResolutionException(String message) { super(message); } public RepositoryMetadataResolutionException(String message, Exception e) { super(message, e); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/MissingProjectException.java
package org.apache.maven.lifecycle; /** * Signals a failure to execute a lifecycle phase or mojo because a project is required but not present. * */ public class MissingProjectException extends Exception { /** * Creates a new exception. * * @param message The detail message, may be {@code null}. */ public MissingProjectException(String message) { super(message); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstallerException.java
*/ @Experimental public class ArtifactInstallerException extends MavenException { /** * @param message the message of the error * @param e {@link Exception} */ public ArtifactInstallerException(String message, Exception e) { super(message, e); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 25 21:57:56 GMT 2025 - 1.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java
executor.execute(session, reactorContext, taskSegments); } catch (Exception e) { session.getResult().addException(e); } finally { eventCatapult.fire(ExecutionEvent.Type.SessionEnded, session, null); } } public List<TaskSegment> calculateTaskSegments(MavenSession session) throws Exception { MavenProject rootProject = session.getTopLevelProject();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverResult.java
DownloadedArtifact getArtifact(); /** * Returns a mapping of repositories to the exceptions encountered while resolving the artifact. * * @return A {@link Map} where keys are {@link Repository} instances and values are {@link Exception} instances. */ Map<Repository, List<Exception>> getExceptions(); /** * Returns the repository from which the artifact was resolved.
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 4.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
context.cwd = getCwd(context); } catch (Exception e) { context.parsingFailed = true; context.cwd = getCanonicalPath(Paths.get(".")); parserRequest.logger().error("Error determining working directory", e); } try { context.installationDirectory = getInstallationDirectory(context); } catch (Exception e) { context.parsingFailed = true;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 07:39:11 GMT 2025 - 25.5K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java
public static final MediaType MEDIA_TYPE_MARKDOWN = MediaType.get("text/x-markdown; charset=utf-8"); private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { final PipeBody pipeBody = new PipeBody(); Request request = new Request.Builder() .url("https://api.github.com/markdown/raw") .post(pipeBody) .build();Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jul 06 03:18:15 GMT 2018 - 3.1K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Invokable.java
@SuppressWarnings("CatchingUnchecked") // sneaky checked exception public final boolean trySetAccessible() { // We can't call accessibleObject.trySetAccessible since that was added in Java 9 and this code // should work on Java 8. So we emulate it this way. try { accessibleObject.setAccessible(true); return true; } catch (Exception e) { // sneaky checked exception return false; } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 18.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableTable.java
return this; } /** * Returns a newly-created immutable table. * * <p>Prefer the equivalent method {@link #buildOrThrow()} to make it explicit that the method * will throw an exception if there are duplicate key pairs. The {@code build()} method will * soon be deprecated. * * @throws IllegalArgumentException if duplicate key pairs were added */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 17.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
* @author Sven Mawson */ @NullUnmarked public class ExecutionListTest extends TestCase { private final ExecutionList list = new ExecutionList(); public void testRunOnPopulatedList() throws Exception { Executor exec = newCachedThreadPool(); CountDownLatch countDownLatch = new CountDownLatch(3); list.add(new MockRunnable(countDownLatch), exec); list.add(new MockRunnable(countDownLatch), exec);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 4.7K bytes - Click Count (0)