net.sourceforge.nrl.parser
Class SemanticError
java.lang.Object
net.sourceforge.nrl.parser.NRLError
net.sourceforge.nrl.parser.SemanticError
- Direct Known Subclasses:
- ModelLoadingError
public class SemanticError
- extends NRLError
A semantic error that occurred during AST creation or AST resolution. Always has a message and a
line number. Can optionally return a column number and length in the input text related to the
error (or line 1 column 0 if this information is not available).
Lines are numbered from 1, not from 0. Columns are numbered from 0.
- Author:
- Christian Nentwich
SemanticError
public SemanticError(int statusCode,
int line,
int column,
String message)
SemanticError
public SemanticError(int statusCode,
int line,
int column,
int length,
String message)
SemanticError
public SemanticError(String message)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2006-2013. All Rights Reserved.