|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.nrl.parser.NRLError
net.sourceforge.nrl.parser.SemanticError
public class SemanticError
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.
| Constructor Summary | |
|---|---|
SemanticError(int statusCode,
int line,
int column,
int length,
String message)
|
|
SemanticError(int statusCode,
int line,
int column,
String message)
|
|
SemanticError(String message)
|
|
| Method Summary | |
|---|---|
String |
toString()
|
| Methods inherited from class net.sourceforge.nrl.parser.NRLError |
|---|
getColumn, getLength, getLine, getMessage, getStatusCode, setColumn, setLength, setLine, setMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SemanticError(int statusCode,
int line,
int column,
String message)
public SemanticError(int statusCode,
int line,
int column,
int length,
String message)
public SemanticError(String message)
| Method Detail |
|---|
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||