Class ParseException

  • All Implemented Interfaces:
    Serializable

    public class ParseException
    extends Exception
    Class for parse exceptions. Contains a message and stores the rest of tokens.
    Author:
    Herbert Praehofer
    See Also:
    Serialized Form
    • Field Detail

      • input

        private final FList<String> input
        List of tokens left
    • Constructor Detail

      • ParseException

        public ParseException​(String message,
                              FList<String> input)
        Constructor setting a message and the list of tokens left.
        Parameters:
        message - the message
        input - the list of tokens left
    • Method Detail

      • getInput

        public FList<String> getInput()
        Gets the list of tokens left.
        Returns:
        the list of tokens left