- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 686 for exceptions (0.06 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/project/DefaultDependencyResolutionResult.java
return unresolvedDependencies; } @Override public List<Exception> getCollectionErrors() { return collectionErrors; } public void setCollectionErrors(List<Exception> exceptions) { if (exceptions != null) { this.collectionErrors = exceptions; } else { this.collectionErrors = new ArrayList<>(); } }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 10:13:56 GMT 2025 - 3.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenBuilderException.java
/** * Base class for all maven exceptions carrying {@link BuilderProblem}s. * * @since 4.0.0 */ @Experimental public abstract class MavenBuilderException extends MavenException { /** * The collection of problems associated with this exception. */ private final ProblemCollector<BuilderProblem> problems; /** * Constructs a new exception with the specified message and cause.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 3.2K bytes - Click Count (0) -
docs/de/docs/tutorial/dependencies/dependencies-with-yield.md
Wenn Sie einen `try`-Block in einer Abhängigkeit mit `yield` verwenden, empfangen Sie alle Exceptions, die bei Verwendung der Abhängigkeit geworfen wurden. Wenn beispielsweise ein Code irgendwann in der Mitte, in einer anderen Abhängigkeit oder in einer *Pfadoperation*, ein „Rollback“ einer Datenbanktransaktion macht oder eine andere Exception verursacht, empfangen Sie die Exception in Ihrer Abhängigkeit.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 14.7K bytes - Click Count (0) -
docs/es/docs/tutorial/handling-errors.md
## Instalar manejadores de excepciones personalizados { #install-custom-exception-handlers } Puedes agregar manejadores de excepciones personalizados con <a href="https://www.starlette.dev/exceptions/" class="external-link" target="_blank">las mismas utilidades de excepciones de Starlette</a>. Supongamos que tienes una excepción personalizada `UnicornException` que tú (o un paquete que usas) podrías lanzar.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 9.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/BuildPluginManager.java
public interface BuildPluginManager { // igorf: Way too many declared exceptions! PluginDescriptor loadPlugin(Plugin plugin, List<RemoteRepository> repositories, RepositorySystemSession session) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, InvalidPluginDescriptorException; // igorf: Way too many declared exceptions! MojoDescriptor getMojoDescriptor(Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.3K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/UpgradeContextTest.java
assertNotNull(context, "Context should be created"); assertNotNull(context.options(), "Options should be available"); // Test that icon methods don't throw exceptions // (The actual icon choice depends on terminal charset capabilities) context.success("Test success message"); context.failure("Test failure message"); context.warning("Test warning message");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Jul 15 09:35:08 GMT 2025 - 3.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverResult.java
@Experimental public interface VersionRangeResolverResult extends Result<VersionRangeResolverRequest> { /** * Gets the exceptions that occurred while resolving the version range. * * @return The list of exceptions that occurred during resolution, never {@code null} */ @Nonnull List<Exception> getExceptions(); /** * Gets the versions (in ascending order) that matched the requested range. *
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 29 08:17:07 GMT 2025 - 3.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java
return this; } @Override public List<Throwable> getExceptions() { return exceptions; } @Override public MavenExecutionResult addException(Throwable t) { exceptions.add(t); return this; } @Override public boolean hasExceptions() { return !getExceptions().isEmpty(); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/PluginResolutionException.java
this.plugin = plugin; } public PluginResolutionException(Plugin plugin, List<Exception> exceptions, Throwable cause) { super( "Plugin " + plugin.getId() + " or one of its dependencies could not be resolved:" + System.lineSeparator() + "\t" + exceptions.stream() .map(Throwable::getMessage)Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DependencyResolutionException.java
List<Exception> exceptions = result.getResolutionErrors(dependency); for (Exception e : exceptions) { msg.append("\t").append(e.getMessage()).append(System.lineSeparator()); } } for (Exception exception : result.getCollectionErrors()) { msg.append(exception.getMessage()).append(System.lineSeparator());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 10:13:56 GMT 2025 - 2.6K bytes - Click Count (0)