|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception marf.util.MARFException marf.nlp.Parsing.CompilerError
public class CompilerError
Generic Compiler Error. Normally subclassed to differentiate between various error types like lexical, syntactical, semantic and such. $Id: CompilerError.java,v 1.9 2005/06/16 19:58:57 mokhov Exp $
Field Summary | |
---|---|
protected int |
CurrentErrorCode
Error code of the last error occured. |
protected java.lang.String |
CurrentErrorString
A descriptive message correspoding to a given error code. |
protected int |
LineNo
Line number where the given error occurred. |
static int |
OK
Error code signifying "no error". |
Fields inherited from class marf.util.MARFException |
---|
strMessage |
Constructor Summary | |
---|---|
CompilerError()
Default Constructor. |
|
CompilerError(java.lang.Exception poException)
|
|
CompilerError(java.lang.String pstrMessage)
|
|
CompilerError(java.lang.String pstrMessage,
java.lang.Exception poException)
|
Method Summary | |
---|---|
int |
getCurrentErrorCode()
Access method for the CurrentErrorCode property. |
java.lang.String |
getCurrentErrorString()
Access method for the CurrentErrorString property. |
int |
getLineNo()
Access method for the LineNo property. |
static java.lang.String |
getMARFSourceCodeRevision()
Retrieves class' revision. |
Methods inherited from class marf.util.MARFException |
---|
getMessage, toString |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int OK
protected int CurrentErrorCode
protected java.lang.String CurrentErrorString
protected int LineNo
Constructor Detail |
---|
public CompilerError()
public CompilerError(java.lang.Exception poException)
poException
- public CompilerError(java.lang.String pstrMessage)
pstrMessage
- public CompilerError(java.lang.String pstrMessage, java.lang.Exception poException)
pstrMessage
- poException
- Method Detail |
---|
public int getCurrentErrorCode()
public java.lang.String getCurrentErrorString()
public int getLineNo()
public static java.lang.String getMARFSourceCodeRevision()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |