Class Issue

java.lang.Object
ortus.boxlang.compiler.ast.Issue
All Implemented Interfaces:
Serializable

public class Issue extends Object implements Serializable
Error generated by the parser, consist of an error message and the position with in the source code of the offending symbol.
See Also:
  • Constructor Details

    • Issue

      public Issue(String message, Position position)
      Creates a parsing error message
      Parameters:
      message - error message
      position - position within the source code
  • Method Details

    • getMessage

      public String getMessage()
    • getPosition

      public Position getPosition()
    • toString

      public String toString()
      Returns the string representation of an error message. Ii includes the position and the error message If the error has been generated parsing a file, the message includes the full path of the file.
      Overrides:
      toString in class Object
      Returns:
      the (file path) position and error message
      See Also: