All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.webmacro.engine.ParseException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----org.webmacro.engine.ParseException

public final class ParseException
extends Exception
Exception raised on discovery of a parsing error. To facilitate error recovery, you can extract the parseTool from this error.


Constructor Index

 o ParseException(ParseTool, String)
Create a new exception

Method Index

 o main(String[])
Test harness

Constructors

 o ParseException
 public ParseException(ParseTool in,
                       String reason)
Create a new exception

Parameters:
in - the parseTool we were reading that contained unparasable data
reason - what exactly failed in our attempt to parse it

Methods

 o main
 public static void main(String arg[])
Test harness


All Packages  Class Hierarchy  This Package  Previous  Next  Index