package jlib.util;



/**
 * Signal that a syntax error has been detected while parsing a given 
 * input. This exception is meant to be thrown by any classs that 
 * expects input (usually textual) which must obey a certain grammar.
 */
public class SyntaxError extends Exception
  {



    /**
     * Constructs a new exception with a descriptive error message.
     *
     * @param   msg     error message
     */
    public SyntaxError( String msg )
      {
        super( msg );
      }
  }
  