| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
jess.JessException
jess.ParseException
An error during parsing. These are used extensively in the JessDE editor.
 (C) 2006 Sandia National Laboratories
| Field Summary | |
| static int | ADVICEFirst advice | 
| static int | ADVICE_COULD_BE_FUNCTIONThis could be a nil list, but it also could be a function call. | 
| static int | SEMANTIC_ERRORA semantic error has been detected in the input. | 
| static int | SYNTAX_ERRORA syntax error has been detected in the input. | 
| static int | WARNING_IMPLIED_DEFTEMPLATEAn implied ordered deftemplate has been created. | 
| static int | WARNING_NO_SUCH_SLOTAn invalid slot name was seen in a pattern. | 
| static int | WARNING_UNDEFINED_DEFGLOBALAn undefined defglobal was referenced. | 
| static int | WARNING_UNDEFINED_DEFQUERYAn undefined defquery is invoked. | 
| static int | WARNING_UNDEFINED_FUNCTIONAn 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()
| 
 | © 2007 Sandia Corporation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||