|
||||||||||
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 jess.JessException jess.ParseException
An error during parsing. These are used extensively in the JessDE editor.
(C) 2005 Sandia National Laboratories
Field Summary | |
static int |
ADVICE
First advice |
static int |
ADVICE_COULD_BE_FUNCTION
This could be a nil list, but it also could be a function call. |
static int |
SEMANTIC_ERROR
A semantic error has been detected in the input. |
static int |
SYNTAX_ERROR
A syntax error has been detected in the input. |
static int |
WARNING_IMPLIED_DEFTEMPLATE
An implied ordered deftemplate has been created. |
static int |
WARNING_NO_SUCH_SLOT
An invalid slot name was seen in a pattern. |
static int |
WARNING_UNDEFINED_DEFGLOBAL
An undefined defglobal was referenced. |
static int |
WARNING_UNDEFINED_DEFQUERY
An undefined defquery is invoked. |
static int |
WARNING_UNDEFINED_FUNCTION
An unknown funtion name was seen. |
Fields inherited from class jess.JessException |
CLASS_NOT_FOUND, GENERAL_ERROR, NO_ERROR |
Method Summary | |
java.lang.String[] |
getAlternatives()
Returns an array of valid tokens that would have been accepted in place of the error token. |
Named |
getConstruct()
If the parser is parsing a construct when the error occurred, then the partially-built construct will be returned; otherwise, this method returns null. |
JessToken |
getErrorToken()
Returns the token at which the error was detected |
boolean |
isAdvice()
|
Methods inherited from class jess.JessException |
getCause, getContext, getData, getDetail, getErrorCode, getLineNumber, getProgramText, getRoutine, setErrorCode, toString |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, 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 SYNTAX_ERROR
public static final int SEMANTIC_ERROR
public static final int WARNING_IMPLIED_DEFTEMPLATE
public static final int WARNING_UNDEFINED_FUNCTION
public static final int WARNING_UNDEFINED_DEFGLOBAL
public static final int WARNING_UNDEFINED_DEFQUERY
public static final int WARNING_NO_SUCH_SLOT
public static final int ADVICE
public static final int ADVICE_COULD_BE_FUNCTION
Method Detail |
public JessToken getErrorToken()
public java.lang.String[] getAlternatives()
getErrorToken()
public Named getConstruct()
public boolean isAdvice()
|
© 2006 Sandia Corporation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |