org.prorefactor.treeparser
Class SemanticError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by org.prorefactor.treeparser.SemanticError
All Implemented Interfaces:
java.io.Serializable

public class SemanticError
extends java.lang.Error

Represents a semantic error found in 4GL code while analysing it.

Author:
pcd
See Also:
Serialized Form

Constructor Summary
SemanticError(java.lang.String message, JPNode node)
          Create a record of an error detected in 4GL source code under analysis.
 
Method Summary
 int getColumn()
          The column number on the source line, where the error was found.
 java.lang.String getFilename()
          The file name for the node where the error was found.
 int getLine()
          The line number for the node where the error was found.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SemanticError

public SemanticError(java.lang.String message,
                     JPNode node)
Create a record of an error detected in 4GL source code under analysis.

Parameters:
message -
Method Detail

getColumn

public int getColumn()
The column number on the source line, where the error was found.

Returns:

getFilename

public java.lang.String getFilename()
The file name for the node where the error was found.

Returns:

getLine

public int getLine()
The line number for the node where the error was found.

Returns:


Copyright © 2008 Joanju Software. All Rights Reserved.