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) 2013 Sandia Corporation

See Also:
Rete.batch(String), Batch.batch(String, Rete, Context, ErrorHandler)

Nested Class Summary
static class ErrorHandler.DefaultHandler
          A default error handler implementation that just rethrows the parameter.
 
Method Summary
 void handleError(JessException ex)
          When an error occurs during parsing, this method will be called.
 

Method Detail

handleError

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

2013 Sandia Corporation