Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for getColumnNumber (0.3 sec)

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

                    buffer.append(", ");
                }
                buffer.append("line ").append(getLineNumber());
            }
    
            if (getColumnNumber() > 0) {
                if (buffer.length() > 0) {
                    buffer.append(", ");
                }
                buffer.append("column ").append(getColumnNumber());
            }
    
            return buffer.toString();
        }
    
        public Exception getException() {
            return exception;
    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

         * @return The one-based index of the column containing the problem or non-positive value if unknown.
         */
        int getColumnNumber();
    
        /**
         * Gets the location of the problem. The location is a user-friendly combination of the values from
         * {@link #getSource()}, {@link #getLineNumber()} and {@link #getColumnNumber()}. The exact syntax of the returned
         * value is undefined.
         *
    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

         */
        int getLineNumber();
    
        /**
         * Return the column number where the current event ends,
         * returns -1 if none is available.
         * @return the current column number
         */
        int getColumnNumber();
    
        /**
         * Return the byte or character offset into the input source this location
         * is pointing to. If the input source is a file or a byte stream then
    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

         * @return the one-based index of the column containing the problem or non-positive value if unknown
         */
        int getColumnNumber();
    
        /**
         * Gets the location of the problem. The location is a user-friendly combination of the values from
         * {@link #getSource()}, {@link #getLineNumber()} and {@link #getColumnNumber()}. The exact syntax of the returned
         * value is undefined.
         *
    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("line ").append(problem.getLineNumber());
            }
    
            if (problem.getColumnNumber() > 0) {
                if (buffer.length() > 0) {
                    buffer.append(", ");
                }
                buffer.append("column ").append(problem.getColumnNumber());
            }
    
            return buffer.toString();
        }
    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

            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();
                    source = req.getLocation().getSource().getLocation();
                }
    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

                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

        }
    
        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.locations = original.locations;
            this.importedFrom = original.importedFrom;
        }
    
        public int getLineNumber() {
            return lineNumber;
        }
    
        public int getColumnNumber() {
            return columnNumber;
        }
    
        public InputSource getSource() {
            return source;
        }
    
        public InputLocation getLocation(Object key) {
    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