com.alexmerz.graphviz
Class GraphvizTokenMgrError
java.lang.Object
com.alexmerz.graphviz.GraphvizTokenMgrError
public class GraphvizTokenMgrError
- extends java.lang.Object
Error helper class to create nicer lexer/parser messages
- Version:
- $Id: GraphvizTokenMgrError.java,v 1.3 2006/03/20 16:45:40 Alexander Exp $
- Author:
- Alexander Merz
Method Summary |
static TokenMgrError |
create(int code,
int line,
int col)
Creates a new Token Error. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DIRECTED_EDGE_NOT_ALLOWED
public static final int DIRECTED_EDGE_NOT_ALLOWED
- Error code, if a directed edge operator was detected
in a graph.
- See Also:
- Constant Field Values
UNDIRECTED_EDGE_NOT_ALLOWED
public static final int UNDIRECTED_EDGE_NOT_ALLOWED
- Error code, if a undirected edge operator was detected
in a digraph.
- See Also:
- Constant Field Values
GraphvizTokenMgrError
public GraphvizTokenMgrError()
create
public static TokenMgrError create(int code,
int line,
int col)
- Creates a new Token Error.
- Parameters:
code
- The error codeline
- The line where the error occuredcol
- The column of the line where the error occured
- Returns:
- an new TokenMgrError