package rebelsky.compiler.parser; /** * Exceptions that are thrown during the parsing (syntactic analysis) * phase in a compiler. * * @author Samuel A. Rebelsky * @version 0.1 of 18 July 2002 */ public class ParseException extends Exception { // +--------------+------------------------------------------------- // | Constructors | // +--------------+ /** * Create a new exception that includes a description of the * reason for the exception. The preferred constructor for * this class. */ public ParseException(String reason) { super(reason); } // ParseException(String) /** * Create a new exception without a description of the reason * for the exception. */ public ParseException() { super(); } // ParseException() } // class ParseException