Class ValidationError


  • public class ValidationError
    extends Object
    Validation error.
    Version:
    $Id: cf21a94176604e8190c2e2e0d01b193dc6a9e1ba $
    • Constructor Detail

      • ValidationError

        public ValidationError​(ValidationError.Type type,
                               int line,
                               int column,
                               String message)
        Constructor.
        Parameters:
        type - error type
        line - line where the error occurred
        column - column where the error occurred
        message - message of the error
    • Method Detail

      • getLine

        public int getLine()
        Returns:
        line where the error occurred
      • getColumn

        public int getColumn()
        Returns:
        column where the error occurred
      • getMessage

        public String getMessage()
        Returns:
        message of the error
      • toString

        public String toString()
        Overrides:
        toString in class Object
        Returns:
        the error in a human readable format