Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 244 for catch (0.01 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

            } catch (ComponentLookupException e) {
                throw new PluginConfigurationException(
                        mojoDescriptor.getPluginDescriptor(),
                        "Unable to retrieve component configurator " + configuratorId + " for configuration of mojo "
                                + mojoDescriptor.getId(),
                        e);
            } catch (NoClassDefFoundError e) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 16:35:21 GMT 2025
    - 46.4K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenParser.java

                return parseArgs("atFile", args);
            } catch (ParseException e) {
                throw new IllegalArgumentException(
                        "Failed to parse arguments from file (" + atFile + "): " + e.getMessage(), e.getCause());
            } catch (IOException e) {
                throw new IllegalStateException("Error reading config file: " + atFile, e);
            }
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Oct 14 12:35:44 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  3. 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)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

                            throw failure.get();
                        }
                    } catch (UserInterruptException e) {
                        // Ignore
                        // return CANCELED;
                    } catch (EndOfFileException e) {
                        return OK;
                    } catch (SystemRegistryImpl.UnknownCommandException e) {
                        context.writer.accept(context.invokerRequest
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  5. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java

                InputSource source = InputSource.of(input.toString());
                return new PersistedToolchains(new MavenToolchainsStaxReader().read(in, isStrict(options), source));
            } catch (XMLStreamException e) {
                throw new ToolchainsParseException(
                        e.getMessage(),
                        e.getLocation().getLineNumber(),
                        e.getLocation().getColumnNumber(),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java

                if (v4Factory == null) {
                    return null;
                }
                return createV3FactoryBridgeForV4Factory(v4Factory);
            } catch (Exception e) {
                // If lookup fails, no v4 factory exists for this type
                return null;
            }
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 31 10:58:52 GMT 2025
    - 11K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java

                }
    
                depRequest.setRoot(node);
                return repoSystem.resolveDependencies(session, depRequest);
            } catch (DependencyCollectionException e) {
                throw new PluginResolutionException(plugin, e.getResult().getExceptions(), e);
            } catch (DependencyResolutionException e) {
                List<Exception> exceptions = Stream.concat(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 15:32:43 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                    Object obj = interpolationTargets.removeFirst();
    
                    try {
                        traverseObjectWithParents(obj.getClass(), obj);
                    } catch (ModelInterpolationException e) {
                        return e;
                    }
                }
    
                return null;
            }
    
            @SuppressWarnings({"unchecked", "checkstyle:methodlength"})
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  9. apache-maven/src/assembly/maven/bin/JvmConfigParser.java

                if (outputFile != null) {
                    try {
                        Files.writeString(outputFile, "", StandardCharsets.UTF_8);
                    } catch (IOException e) {
                        System.err.println("ERROR: Failed to write output file: " + e.getMessage());
                        System.err.flush();
                        System.exit(1);
                    }
                }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java

                    } catch (NumberFormatException e) {
                        throw new XmlPullParserException(e.getMessage(), parser, e);
                    }
                } else {
                    try {
                        DateFormat dateParser = new java.text.SimpleDateFormat(effectiveDateFormat, java.util.Locale.US);
                        return dateParser.parse(s);
                    } catch (java.text.ParseException e) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 25.3K bytes
    - Click Count (0)
Back to Top