Pep 0.4 API Documentation

edu.osu.ling.pep
Class ParseErrorEvent

java.lang.Object
  extended by java.util.EventObject
      extended by edu.osu.ling.pep.ParserEvent
          extended by edu.osu.ling.pep.ParseEvent
              extended by edu.osu.ling.pep.ParseErrorEvent
All Implemented Interfaces:
Serializable

public class ParseErrorEvent
extends ParseEvent

An event triggered when an error occurs during parsing.

Version:
$LastChangedRevision: 1807 $
Author:
Scott Martin
See Also:
ParserListener.parseError(ParseErrorEvent), Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Method Summary
 PepException getCause()
          Gets the exception that caused this error event to be generated.
 
Methods inherited from class edu.osu.ling.pep.ParseEvent
getIndex, getParse
 
Methods inherited from class edu.osu.ling.pep.ParserEvent
getEarleyParser
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getCause

public PepException getCause()
Gets the exception that caused this error event to be generated.

Returns:
The exception that was specified when this event was created.

Pep: Pep is an Earley parser

Pep API Documentation, Copyright © 2007 Scott Martin

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the overview file.