agg.parser
Class ParserErrorEvent
java.lang.Object
java.util.EventObject
agg.parser.ParserEvent
agg.parser.ParserErrorEvent
- All Implemented Interfaces:
- java.io.Serializable
public class ParserErrorEvent
- extends ParserEvent
This event is used if the parser has to handle any error. Typically an error
occurs if a graph cannot be parsed.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
ParserErrorEvent(java.lang.Object source)
This constructor is inherited from ParserEvent . |
ParserErrorEvent(java.lang.Object source,
java.lang.String _message)
Creates a new event with a error message. |
Method Summary |
java.util.Enumeration<java.lang.Object> |
getErrorGraph()
If a graph is the source of this event this part of the graph is returned
which causes the error. |
java.lang.String |
getErrorString()
Returns the error text. |
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 |
ParserErrorEvent
public ParserErrorEvent(java.lang.Object source)
- This constructor is inherited from
ParserEvent
.
- Parameters:
source
- The source of the event.
ParserErrorEvent
public ParserErrorEvent(java.lang.Object source,
java.lang.String _message)
- Creates a new event with a error message.
- Parameters:
source
- The source of the event._message
- The error message.
getErrorString
public java.lang.String getErrorString()
- Returns the error text.
- Returns:
- The error message.
getErrorGraph
public java.util.Enumeration<java.lang.Object> getErrorGraph()
- If a graph is the source of this event this part of the graph is returned
which causes the error.
- Returns:
- A set of graph object.