Class ParseException

    • Constructor Detail

      • ParseException

        public ParseException​(String message,
                              int lineNumber)
        Thrown if there is an exception related to parsing a line in a drl file. For more generic exception, a different exception class will be used.
      • ParseException

        public ParseException​(String message,
                              int lineNumber,
                              Throwable cause)
        Allows nesting of misc exceptions, yet preserving the line number that triggered the error.
    • Method Detail

      • getLineNumber

        public int getLineNumber()
        The line number on which the error occurred.
      • getMessage

        public String getMessage()
        This will print out a summary, including the line number. It will also print out the cause message if applicable.
        Overrides:
        getMessage in class Throwable