Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ToolchainsParseException (0.2 sec)

  1. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsParseException.java

    /**
     * Signals a failure to parse the toolchains due to invalid syntax (e.g. non well formed XML or unknown elements).
     *
     * @since 3.3.0
     */
    @Deprecated(since = "4.0.0")
    public class ToolchainsParseException extends IOException {
    
        /**
         * The one-based index of the line containing the error.
         */
        private final int lineNumber;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsReader.java

         * @throws IOException If the toolchains could not be deserialized.
         * @throws ToolchainsParseException If the input format could not be parsed.
         */
        PersistedToolchains read(File input, Map<String, ?> options) throws IOException, ToolchainsParseException;
    
        /**
         * Reads the toolchains from the specified character reader. The reader will be automatically closed before the
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java

                return new PersistedToolchains(new MavenToolchainsStaxReader().read(in, isStrict(options), source));
            } catch (XMLStreamException e) {
                throw new ToolchainsParseException(
                        e.getMessage(),
                        e.getLocation().getLineNumber(),
                        e.getLocation().getColumnNumber(),
                        e);
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top