All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class parse.ParserException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----parse.ParserException

public class ParserException
extends Exception
When the parser detects an error, it throws a ParserException which contains the parser.

This code is (c) 1996 Leemon Baird <leemon@cs.cmu.edu>, http://www.cs.cmu.edu/~baird
The source and object code may be redistributed freely. If the code is modified, please state so in the comments.

Version:
1.0, 10 March 96
Author:
Leemon Baird

Variable Index

 o parser
this is the parser raising the exception

Constructor Index

 o ParserException(String)

Method Index

 o print()
print out the error and stack to System.out
 o remember(Parser)
Remember the parser that found the error.

Variables

 o parser
 public Parser parser
this is the parser raising the exception

Constructors

 o ParserException
 public ParserException(String s)

Methods

 o remember
 public void remember(Parser p)
Remember the parser that found the error.

 o print
 public void print()
print out the error and stack to System.out


All Packages  Class Hierarchy  This Package  Previous  Next  Index