|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
es.uned.compiler.lexical.LexicalError
public class LexicalError
Constructor Summary | |
---|---|
LexicalError()
Constructor for SyntaxError. |
|
LexicalError(java.lang.String message)
Constructor for SyntaxError. |
|
LexicalError(java.lang.String message,
java.lang.Throwable exception)
Constructor for SyntaxError. |
|
LexicalError(java.lang.Throwable exception)
Constructor for SyntaxError. |
Method Summary | |
---|---|
int |
getColumn()
Returns the column. |
java.lang.String |
getLexema()
Returns the lexema. |
int |
getLine()
Returns the line. |
void |
setColumn(int column)
Sets The column. |
void |
setLexema(java.lang.String lexema)
Sets The lexema. |
void |
setLine(int line)
Sets The line. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LexicalError()
public LexicalError(java.lang.String message)
message
- A message tho the exception.public LexicalError(java.lang.String message, java.lang.Throwable exception)
message
- A message tho the exception.exception
- The cause of the exception.public LexicalError(java.lang.Throwable exception)
exception
- The cause of the exception.Method Detail |
---|
public int getColumn()
public java.lang.String getLexema()
public int getLine()
public void setColumn(int column)
column
- The column to set.public void setLexema(java.lang.String lexema)
lexema
- The lexema to set.public void setLine(int line)
line
- The line to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |