Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for getLineNumber (0.09 sec)

  1. compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java

                    buffer.append(", ");
                }
                buffer.append(getSource());
            }
    
            if (getLineNumber() > 0) {
                if (buffer.length() > 0) {
                    buffer.append(", ");
                }
                buffer.append("line ").append(getLineNumber());
            }
    
            if (getColumnNumber() > 0) {
                if (buffer.length() > 0) {
                    buffer.append(", ");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

         * is given by {@link #getSource()}.
         *
         * @return The one-based index of the line containing the problem or a non-positive value if unknown.
         */
        int getLineNumber();
    
        /**
         * Gets the one-based index of the column containing the problem. The column number should refer to some text file
         * that is given by {@link #getSource()}.
         *
    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. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java

    public interface Location {
    
        /**
         * Return the line number where the current event ends,
         * returns -1 if none is available.
         * @return the current line number
         */
        int getLineNumber();
    
        /**
         * Return the column number where the current event ends,
         * returns -1 if none is available.
         * @return the current column number
         */
        int getColumnNumber();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

         * is given by {@link #getSource()}.
         *
         * @return the one-based index of the line containing the problem or a non-positive value if unknown
         */
        int getLineNumber();
    
        /**
         * Gets the one-based index of the column containing the problem. The column number should refer to some text file
         * that is given by {@link #getSource()}.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

                    }
                    buffer.append(problem.getSource());
                }
            }
    
            if (problem.getLineNumber() > 0) {
                if (buffer.length() > 0) {
                    buffer.append(", ");
                }
                buffer.append("line ").append(problem.getLineNumber());
            }
    
            if (problem.getColumnNumber() > 0) {
                if (buffer.length() > 0) {
    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-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

            int line = -1;
            int column = -1;
            String source = null;
            String modelId = null;
    
            if (req.getLocation() != null) {
                line = req.getLocation().getLineNumber();
                column = req.getLocation().getColumnNumber();
                if (req.getLocation().getSource() != null) {
                    modelId = req.getLocation().getSource().getModelId();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

            } catch (XMLStreamException e) {
                Location location = e.getLocation();
                throw new ModelParseException(
                        e.getMessage(),
                        location != null ? location.getLineNumber() : -1,
                        location != null ? location.getColumnNumber() : -1,
                        e);
            } catch (Exception e) {
                throw new IOException("Unable to transform pom", e);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParserException.java

            this.lineNumber = lineNumber;
            this.columnNumber = columnNumber;
        }
    
        public ModelParserException(Throwable cause) {
            this(null, cause);
        }
    
        public int getLineNumber() {
            return lineNumber;
        }
    
        public int getColumnNumber() {
            return columnNumber;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Sep 22 07:25:10 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblemCollector.java

            if (line <= 0 && column <= 0 && (cause instanceof SettingsParseException)) {
                SettingsParseException e = (SettingsParseException) cause;
                line = e.getLineNumber();
                column = e.getColumnNumber();
            }
    
            SettingsProblem problem = new DefaultSettingsProblem(message, severity, source, line, column, cause);
    
            problems.add(problem);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java

            this.columnNumber = original.columnNumber;
            this.source = original.source;
            this.locations = original.locations;
            this.importedFrom = original.importedFrom;
        }
    
        public int getLineNumber() {
            return lineNumber;
        }
    
        public int getColumnNumber() {
            return columnNumber;
        }
    
        public InputSource getSource() {
            return source;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 15 13:24:49 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top