jess
Interface ErrorHandler
- All Known Implementing Classes:
- ErrorHandler.DefaultHandler
- public interface ErrorHandler
Objects of this class are notified when an error occurs while parsing Jess code.
The ErrorHandler can choose to abort or continue the parse.
(C) 2006 Sandia National Laboratories
- See Also:
Rete.batch(String)
,
Batch.batch(String, Rete, Context, ErrorHandler)
handleError
public void handleError(JessException ex)
throws JessException
- When an error occurs during parsing, this method will be called.
- Parameters:
ex
- the error that has occurred
- Throws:
JessException
- to abort parsing, rethrow the exception parameter