Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MetadataParseException (0.11 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataParseException.java

    import java.io.IOException;
    
    /**
     * Signals a failure to parse the metadata due to invalid syntax (e.g. non well formed XML or unknown elements).
     *
     */
    public class MetadataParseException extends IOException {
    
        /**
         * The one-based index of the line containing the error.
         */
        private final int lineNumber;
    
        /**
         * The one-based index of the column containing the error.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataReader.java

         * @return The deserialized metadata, never {@code null}.
         * @throws IOException If the metadata could not be deserialized.
         * @throws MetadataParseException If the input format could not be parsed.
         */
        Metadata read(File input, Map<String, ?> options) throws IOException, MetadataParseException;
    
        /**
         * Reads the metadata from the specified character reader. The reader will be automatically closed before the method
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java

            try (Reader in = input) {
                return new Metadata(new MetadataStaxReader().read(in, isStrict(options)));
            } catch (XMLStreamException e) {
                throw new MetadataParseException(
                        e.getMessage(),
                        e.getLocation().getLineNumber(),
                        e.getLocation().getColumnNumber(),
                        e);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top