jess
Class ErrorHandler.DefaultHandler

java.lang.Object
  extended by jess.ErrorHandler.DefaultHandler
All Implemented Interfaces:
ErrorHandler
Enclosing interface:
ErrorHandler

public static class ErrorHandler.DefaultHandler
extends java.lang.Object
implements ErrorHandler

A default error handler implementation that just rethrows the parameter. This handler is used internally by the implementations of "batch".


Nested Class Summary
 
Nested classes/interfaces inherited from interface jess.ErrorHandler
ErrorHandler.DefaultHandler
 
Constructor Summary
ErrorHandler.DefaultHandler()
           
 
Method Summary
 void handleError(JessException ex)
          When an error occurs during parsing, this method will be called.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorHandler.DefaultHandler

public ErrorHandler.DefaultHandler()
Method Detail

handleError

public void handleError(JessException ex)
                 throws JessException
Description copied from interface: ErrorHandler
When an error occurs during parsing, this method will be called.

Specified by:
handleError in interface ErrorHandler
Parameters:
ex - the error that has occurred
Throws:
JessException - to abort parsing, rethrow the exception parameter

© 2013 Sandia Corporation