es.uned.compiler.lexical
Class LexicalError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by es.uned.compiler.lexical.LexicalError
All Implemented Interfaces:
java.io.Serializable

public class LexicalError
extends java.lang.Exception

See Also:
Serialized Form

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

LexicalError

public LexicalError()
Constructor for SyntaxError.


LexicalError

public LexicalError(java.lang.String message)
Constructor for SyntaxError.

Parameters:
message - A message tho the exception.

LexicalError

public LexicalError(java.lang.String message,
                    java.lang.Throwable exception)
Constructor for SyntaxError.

Parameters:
message - A message tho the exception.
exception - The cause of the exception.

LexicalError

public LexicalError(java.lang.Throwable exception)
Constructor for SyntaxError.

Parameters:
exception - The cause of the exception.
Method Detail

getColumn

public int getColumn()
Returns the column.

Returns:
Returns the column.

getLexema

public java.lang.String getLexema()
Returns the lexema.

Returns:
Returns the lexema.

getLine

public int getLine()
Returns the line.

Returns:
Returns the line.

setColumn

public void setColumn(int column)
Sets The column.

Parameters:
column - The column to set.

setLexema

public void setLexema(java.lang.String lexema)
Sets The lexema.

Parameters:
lexema - The lexema to set.

setLine

public void setLine(int line)
Sets The line.

Parameters:
line - The line to set.