Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 519 for throws (0.08 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java

                    throw new TransferCancelledException();
                }
    
                @Override
                public void transferProgressed(TransferEvent event) throws TransferCancelledException {
                    throw new TransferCancelledException();
                }
    
                @Override
                public void transferCorrupted(TransferEvent event) throws TransferCancelledException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java

                throw new XmlPullParserException(e.getMessage(), null, e);
            }
        }
    
        /**
         * @param reader a reader object.
         * @throws IOException IOException if any.
         * @throws XmlPullParserException XmlPullParserException if
         * any.
         * @return Model
         */
        public Settings read(Reader reader) throws IOException, XmlPullParserException {
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java

            throw new UnsupportedOperationException("Cannot get available versions in this test case");
        }
    
        public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(
                Artifact artifact, ArtifactRepository localRepository, ArtifactRepository remoteRepository)
                throws ArtifactMetadataRetrievalException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

            }
    
            public Object evaluate(String expression, Class<?> type) throws ExpressionEvaluationException {
                if (preprocessor != null) {
                    try {
                        return preprocessor.preprocessValue(expression, type);
                    } catch (BeanConfigurationException e) {
                        throw new ExpressionEvaluationException(e.getMessage(), e);
                    }
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java

         */
        public static PluginDescriptor fromXml(@Nonnull String xml) throws XmlReaderException {
            return new DefaultPluginXmlFactory().fromXmlString(xml);
        }
    
        /**
         * Simply converts the given content to an xml string.
         *
         * @param content the object to convert
         * @return the xml string representation
         * @throws XmlWriterException if an error occurs during the transformation
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Writer.java

         * @param writer a writer object.
         * @param settings a settings object.
         * @throws IOException java.io.IOException if any.
         */
        public void write(Writer writer, Settings settings) throws IOException {
            try {
                delegate.write(writer, settings.getDelegate());
            } catch (XMLStreamException e) {
                throw new IOException(e);
            }
        }
    
        /**
         * Method write.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/ProjectDependenciesResolver.java

         * @throws ArtifactResolutionException in case of resolution issue
         * @throws ArtifactNotFoundException if an artifact is not found
         */
        Set<Artifact> resolve(MavenProject project, Collection<String> scopesToResolve, MavenSession session)
                throws ArtifactResolutionException, ArtifactNotFoundException;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Reader.java

         * @throws XmlPullParserException XmlPullParserException if
         *                                any.
         */
        public Metadata read(InputStream in) throws IOException, XmlPullParserException {
            try {
                return new Metadata(delegate.read(in));
            } catch (XMLStreamException e) {
                throw new XmlPullParserException(e.getMessage(), null, e);
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/StringWagon.java

            } else {
                throw new ResourceDoesNotExistException("No content provided for " + resource.getName());
            }
        }
    
        @Override
        public void fillOutputData(OutputData outputData) throws TransferFailedException {
            outputData.setOutputStream(new ByteArrayOutputStream());
        }
    
        @Override
        protected void openConnectionInternal() throws ConnectionException, AuthenticationException {}
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvoker.java

                super(invoker, invokerRequest);
            }
    
            @Override
            public void close() throws InvokerException {
                // we are resident, we do not shut down here
            }
    
            public void shutDown() throws InvokerException {
                super.close();
            }
    
            public LocalContext copy(MavenInvokerRequest<MavenOptions> invokerRequest) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top